Name | Description | |
---|---|---|
FileReferenceCollection Constructor | Create a new directory monitor for the provided file reference collection on the provided path. |
The following tables list the members exposed by FileReferenceCollection.
Name | Description | |
---|---|---|
FileReferenceCollection Constructor | Create a new directory monitor for the provided file reference collection on the provided path. |
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the ICollection. | |
IsReadOnly | Gets a value indicating whether the ICollection is read-only. | |
Item | Gets or sets the element at the specified index. |
Name | Description | |
---|---|---|
Add | Adds an item to the ICollection. | |
Clear | Removes all items from the ICollection. | |
Contains | Determines whether the ICollection contains a specific value. | |
ContainsKey | Determines whether the collection contains an element with the specified key. | |
CopyTo | Copies the elements of the ICollection to an System.Array, starting at a particular System.Array index. | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
IndexOf | Determines the index of a specific item in the IList. | |
Insert | Inserts an item to the IList at the specified index. | |
Remove | Overloaded. Removes the first occurrence of a specific object from the ICollection. | |
RemoveAt | Removes the IList item at the specified index. | |
Rename | Change the files name to the new unique name | |
TryGetValue | Retrieve an item from the collection by its key if present. If not present, the default value of the object is returned. |
Name | Description | |
---|---|---|
OnCollectionChanged | Called to raise the CollectionChanged event | |
OnDirectoryChange | Called when it has been detected that the directory has been updated to determine what the update is. | |
OnItemAdd | Add an item to the collection, optionally specifying the index | |
OnItemClear | Clear all of the items in the collection | |
OnItemRemove | Called whenever an item has to be removed to the collection | |
OnItemSet | Called to set an item to a specific location in the index, removing whatever is there |
Name | Description | |
---|---|---|
CollectionChanged | Raised every time the collection's contents are changed to allow subscribers to automatically track changes. |