The FileSystemItemCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds the specified item to the collection.
| |
| AddRange |
Adds the elements of the specified collection to the end of the FileSystemItemCollection.
| |
| Clear |
Removes all items from the collection.
| |
| Contains(String) |
Determines whether the item with the specified path is in the collection.
| |
| Contains(FileSystemItem) |
Determines whether the item is in the collection.
| |
| CopyTo |
Copies the range of elements from the collection to a one-dimensional
FileSystemItem array, starting at the specified index of the target array.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| 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.) | |
| GetEnumerator |
Gets an IEnumerator<(Of <(<'T>)>)> for the collection.
| |
| GetFiles(String) |
Returns the names of files in the collection that match the specified search pattern.
| |
| GetFiles(Regex) |
Returns the paths of files in the collection that match the specified search pattern.
| |
| GetFiles(String, Boolean) |
Returns the names of files in the collection that match the specified search pattern.
| |
| 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.) | |
| GetTotalSize |
Gets the total size of files contained in the collection.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| CheckItem |
Validates whether the item is correct and can be added.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove(String) |
Removes the item with the specified path from the collection.
| |
| Remove(FileSystemItem) |
Removes the specified item from the collection.
| |
| RemoveAt |
Removes the item at the specified index from the collection.
| |
| Sort()()()() |
Sorts the items in the entire collection alphabetically.
| |
| Sort(IComparer) |
Sorts the elements in the entire collection using the specified comparer.
| |
| Sort(Int32, Int32, IComparer) |
Sorts the elements in a section of the collection using the specified comparer.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerable..::..GetEnumerator |