Xceed .NET Libraries Documentation
Xceed.Ftp Assembly / Xceed.Ftp Namespace / FtpConnection Class / ListingMethod Property


In This Topic
    ListingMethod Property (FtpConnection)
    In This Topic
    Gets or sets the ListingMethod that will be used to retrieve folder contents from the FTP server.
    Syntax
    'Declaration
     
    Public Property ListingMethod As ListingMethod
    'Usage
     
    Dim instance As FtpConnection
    Dim value As ListingMethod
     
    instance.ListingMethod = value
     
    value = instance.ListingMethod
    public ListingMethod ListingMethod {get; set;}

    Property Value

    A ListingMethod value that indicates the current listing method that is used to retrieve folder contents from the FTP server.

    The default value is ListingMethod.Standard.

    Exceptions
    ExceptionDescription
    If the listing method is set after connections have been made to the FTP server.
    Remarks
    The property cannot be set once connections have been made to the FTP server.
    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