The following tables list the members exposed by FileList.
Name | Description | |
---|---|---|
FileList Constructor | Overloaded. |
Name | Description | |
---|---|---|
Comparer | Gets the generic equality comparer that is used to determine equality of keys in the collection. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,FileInfo>) | |
Count | Gets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) | |
IgnoreFolderAttributes | Setting this will greatly improve performance at the cost of not evaluating filters on directories | |
Item | Overloaded. Gets the element with the specified key. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,FileInfo>) | |
ProhibitedAttributes | Set this to the set of attributes that if a directory or file contains should be skipped. For example when set to FileAttributes.Hidden, hidden files and folders will be ignored. | |
RecurseFolders | Gets or sets a value that allows traversal of all directories added. |
Name | Description | |
---|---|---|
Dictionary | Gets the lookup dictionary of the KeyedCollection. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,FileInfo>) | |
Items | Gets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) |
Name | Description | |
---|---|---|
Add | Overloaded. Adds a set of items to the collection, see Add(string) for details. | |
AddRange | Adds one or files to the collection | |
Clear | Removes all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) | |
Contains | Overloaded. Returns true if the given file is in the collection | |
CopyTo | Copies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) | |
GetEnumerator | Returns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) | |
GetFileNames | Converts all FileInfo elements into their fully-qualified file names | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) | |
Insert | Inserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) | |
Remove | Overloaded. Remove the files specified if they exist in the collection | |
RemoveAt | Removes the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) | |
ToArray | Returns the collection of FileInfo as an array |
Name | Description | |
---|---|---|
ChangeItemKey | Changes the key associated with the specified element in the lookup dictionary. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,FileInfo>) | |
ClearItems | Removes all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) | |
GetKeyForItem | Overridden. The key for the specified element. | |
InsertItem | Inserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) | |
RemoveItem | Removes the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) | |
SetItem | Replaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) |
Name | Description | |
---|---|---|
FileFound | Raised when a new file is about to be added to the collection, set e.Ignore to true will cancel the addition of this file. |