Returns a value indicating whether the specified relative path matches the FileSet.
This method is intended to be overwritten by descendants.
In this case please note that for optimization issues when called with parameters equal to "." and TraverseDirectory
this method should return false if no inclusion pattern was specified; true otherwise.
Namespace:
Rebex.IO
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Overridable Function IsMatch ( _ relativePath As String, _ mode As FileSetMatchMode _ ) As Boolean |
C# |
---|
public virtual bool IsMatch( string relativePath, FileSetMatchMode mode ) |
Parameters
- relativePath
- Type: System..::..String
A relative path to a base path to be tested for a match.
- mode
- Type: Rebex.IO..::..FileSetMatchMode
Specifies how the relativePath should be treated for match.