Xceed .NET Libraries Documentation
Xceed.FileSystem Assembly / Xceed.FileSystem Namespace / MemoryFolder Class / DoGetFile Method
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
The name of the file to retrieve.


In This Topic
    DoGetFile Method (MemoryFolder)
    In This Topic
    Retrieves a reference to an AbstractFile object.
    Syntax
    'Declaration
     
    Protected Overrides Function DoGetFile( _
       ByVal session As FileSystemEventsSession, _
       ByVal name As String _
    ) As AbstractFile
    'Usage
     
    Dim instance As MemoryFolder
    Dim session As FileSystemEventsSession
    Dim name As String
    Dim value As AbstractFile
     
    value = instance.DoGetFile(session, name)
    protected override AbstractFile DoGetFile( 
       FileSystemEventsSession session,
       string name
    )

    Parameters

    session
    A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
    name
    The name of the file to retrieve.

    Return Value

    A reference to an AbstractFile object regardless of if the file represented by the object exists or not.
    Remarks

    fileName should not end with a System.IO.Path.DirectorySeparatorChar.

    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