The CategoryCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds a new custom object to the collection.
If the item already exists in the collection, its index is returned.
(Inherited from BaseCollection<(Of <(<'T>)>)>.) | |
| ChangeItemKey |
Changes the key associated with the specified element in the lookup dictionary.
(Inherited from KeyedCollection<(Of <(<'Guid, Category>)>)>.) | |
| Clear |
Removes all elements from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| ClearItems | (Inherited from C1ObservableKeyedCollection<(Of <(<'TKey, TItem>)>)>.) | |
| Contains | Overloaded. | |
| CopyTo |
Copies the entire Collection<(Of <(<'T>)>)> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| GetDefaults |
Returns the list of predefined categories.
| |
| GetEnumerator |
Returns an enumerator that iterates through the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| GetKeyForItem |
Extracts the key from the specified element.
(Inherited from BaseCollection<(Of <(<'T>)>)>.) | |
| IndexOf |
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| Insert |
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| InsertItem |
Overrides default behavior of collection at inserting new items.
If specified item already exists in the collection generates an exception.
(Inherited from BaseCollection<(Of <(<'T>)>)>.) | |
| LoadDefaults |
Restores the collection to its default state.
| |
| OnCollectionChanged | (Inherited from C1ObservableKeyedCollection<(Of <(<'TKey, TItem>)>)>.) | |
| Remove |
Removes the element with the specified key from the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'Guid, Category>)>)>.) | |
| RemoveAt |
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| RemoveItem |
Overrides base class implementation.
(Inherited from BaseCollection<(Of <(<'T>)>)>.) | |
| SetItem | (Inherited from C1ObservableKeyedCollection<(Of <(<'TKey, TItem>)>)>.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IList..::..Add |
Adds an item to the IList.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| IList..::..Contains |
Determines whether the IList contains a specific value.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| ICollection..::..CopyTo | (Inherited from Collection<(Of <(<'Category>)>)>.) | |
| IEnumerable..::..GetEnumerator |
Returns an enumerator that iterates through a collection.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| IList..::..IndexOf |
Determines the index of a specific item in the IList.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| IList..::..Insert |
Inserts an item into the IList at the specified index.
(Inherited from Collection<(Of <(<'Category>)>)>.) | |
| IList..::..Remove |
Removes the first occurrence of a specific object from the IList.
(Inherited from Collection<(Of <(<'Category>)>)>.) |