FileSet.IsMatch Method
Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9083)
IsMatch(String, FileSetMatchMode)
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.
Declaration
public virtual bool IsMatch(string relativePath, FileSetMatchMode mode)
Parameters
Type | Name | Description |
---|---|---|
String | relativePath | A relative path to a base path to be tested for a match. |
FileSetMatchMode | mode | Specifies how the |
Returns
Type | Description |
---|---|
Boolean | True if the path matches the set; false otherwise. |