NET FTP Library
FileExistsByRegex Method






KellermanSoftware.NetFtpLibrary Namespace > FTP Class : FileExistsByRegex Method
Returns true if a file exists in the current directory matching the regular expression
Syntax
'Declaration
 
Public Function FileExistsByRegex( _
   ByVal regularExpression As System.Text.RegularExpressions.Regex _
) As System.Boolean
'Usage
 
Dim instance As FTP
Dim regularExpression As System.Text.RegularExpressions.Regex
Dim value As System.Boolean
 
value = instance.FileExistsByRegex(regularExpression)
public System.bool FileExistsByRegex( 
   System.Text.RegularExpressions.Regex regularExpression
)
public function FileExistsByRegex( 
    regularExpression: System.Text.RegularExpressions.Regex
): System.Boolean; 
public function FileExistsByRegex( 
   regularExpression : System.Text.RegularExpressions.Regex
) : System.boolean;
public: System.bool FileExistsByRegex( 
   System.Text.RegularExpressions.Regex* regularExpression
) 
public:
System.bool FileExistsByRegex( 
   System.Text.RegularExpressions.Regex^ regularExpression
) 

Parameters

regularExpression
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

FTP Class
FTP Members