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


    DoGetFolder Method (FtpFolder)
    Retrieves a reference to an Xceed.FileSystem.AbstractFolder object.
    Syntax
    'Declaration
     
    Protected Overrides Function DoGetFolder( _
       ByVal session As FileSystemEventsSession, _
       ByVal folderName As String _
    ) As AbstractFolder
     
    'Usage
     
    Dim instance As FtpFolder
    Dim session As FileSystemEventsSession
    Dim folderName As String
    Dim value As AbstractFolder
     
    value = instance.DoGetFolder(session, folderName)

    Parameters

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

    Return Value

    A reference to an Xceed.FileSystem.AbstractFolder object regardless of if the folder represented by the object exists or not.
    Remarks
    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