Xceed .NET Libraries Documentation
Valid Property


Xceed.Ftp Assembly > Xceed.Ftp Namespace > ParsingListingLineEventArgs Class : Valid Property
Gets or sets a boolean value indicating if the listing line returned by the FTP server was valid.
Syntax
'Declaration
 
Public Property Valid As Boolean
'Usage
 
Dim instance As ParsingListingLineEventArgs

Dim value As Boolean

 

instance.Valid = value

 

value = instance.Valid
public bool Valid {get; set;}

Property Value

true if the listing Line represents a valid item; false otherwise.
Remarks

If Valid is true when the ParsingListingLine event is raised, at least one parser succeeded in parsing the listing line and Item has been filled with the parsed information. To filter (remove) an item from the listing set Valid to false. The content of Item can also be modified if you want to change the item's information.

If Valid is false when the event is raised, none of the parsers succeeded in parsing the listing line. In this case you can provide your own parsing, fill Item and set Valid to true.

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

ParsingListingLineEventArgs Class
ParsingListingLineEventArgs Members