Xceed .NET Libraries Documentation
Xceed.FileSystem Assembly / Xceed.FileSystem Namespace / StreamFile Class / DoDelete Method
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.


In This Topic
    DoDelete Method (StreamFile)
    In This Topic
    Permanently deletes the physical item.
    Syntax
    'Declaration
     
    Protected Friend Overrides Sub DoDelete( _
       ByVal session As FileSystemEventsSession _
    ) 
    'Usage
     
    Dim instance As StreamFile
    Dim session As FileSystemEventsSession
     
    instance.DoDelete(session)
    protected internal override void DoDelete( 
       FileSystemEventsSession session
    )

    Parameters

    session
    A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
    Remarks
    This does not close the attached stream; It simply invalidates this StreamFile.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also