The FileSet type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Exclude(String) |
Adds a path or mask into collection of exclusion patterns. The supported wildcards are '?' and '*' and '**'.
For detailed specification with examples see the documentation.
| |
Exclude(String, TraversalMode) |
Adds a path or mask into collection of exclusion patterns. The supported wildcards are '?' and '*' and '**'.
For detailed specification with examples see the documentation.
| |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetLocalItems |
Gets a collection of local file system items (files and directories) which matches this FileSet.
Only items which matches no exclusion pattern and matches at leas one inclusion pattern are included into result collection.
It doesn't depend on the order how the inclusion and exclusion patterns were added into the FileSet. If you don't want to include empty directories into result collection, please set the EmptyDirectoriesIncluded to false. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Include(String) |
Adds a path or mask into collection of inclusion patterns. The supported wildcards are '?' and '*' and '**'.
For detailed specification with examples see the documentation.
| |
Include(String, TraversalMode) |
Adds a path or mask into collection of inclusion patterns. The supported wildcards are '?' and '*' and '**'.
For detailed specification with examples see the documentation.
| |
IsMatch |
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.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |