Xceed .NET Libraries Documentation
CreateItem Method


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpListingParser Class : CreateItem Method
Creates a new FtpItemInfo object.
Syntax
'Declaration
 
Public Overridable Function CreateItem() As FtpItemInfo
'Usage
 
Dim instance As FtpListingParser
Dim value As FtpItemInfo
 
value = instance.CreateItem()
public virtual FtpItemInfo CreateItem()

Return Value

A reference to a new FtpItemInfo object.
Remarks

You can override this method if you wish to derive from FtpItemInfo and expose more information. This enables you to not only derive from FtpListingParser to implement your own custom parser, but also from existing parsers.

If you derive from FtpListingParser and FtpItemInfo to provide your own custom parser, it is recommended that you override this method so that others can derive from your parser and your info classes to add even more information.

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

Reference

FtpListingParser Class
FtpListingParser Members