The ResourceCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ResourceCollection |
Initializes a new instance of the ResourceCollection class.
|
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>)>)>.) |
|
AddRange(array<T>[]()[][]) |
Adds an array of objects to the collection.
This methods clears the collection before adding new items.
Don't use it if you want to keep preexisting items.
(Inherited from BaseCollection<(Of <(<'T>)>)>BaseCollection<(Of <(<'T>)>)>.) |
|
ChangeItemKey |
Changes the key associated with the specified element in the lookup dictionary. (Inherited from KeyedCollection<(Of <(<'Guid, Resource>)>)>.) |
|
Clear |
Removes all elements from the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'Resource>)>)>.) |
|
ClearItems | (Inherited from C1ObservableKeyedCollection<(Of <(<'TKey, TItem>)>)>.) | |
Contains(Int32) |
Check if collection contains an item with specified index.
(Inherited from BaseCollection<(Of <(<'T>)>)>.) |
|
Contains(TKey) |
Determines whether the collection contains an element with the specified key. (Inherited from KeyedCollection<(Of <(<'Guid, Resource>)>)>KeyedCollection<(Of <(<'TKey, TItem>)>)>.) |
|
Contains(T) |
Determines whether an element is in the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'Resource>)>)>Collection<(Of <(<'T>)>)>.) |
|
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 <(<'Resource>)>)>.) |
|
Equals | (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 |
Returns an enumerator that iterates through the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'Resource>)>)>.) |
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetKeyForItem |
Extracts the key from the specified element.
(Inherited from BaseCollection<(Of <(<'T>)>)>.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
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 <(<'Resource>)>)>.) |
|
Insert |
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index. (Inherited from Collection<(Of <(<'Resource>)>)>.) |
|
InsertItem |
Overrides default behavior of collection at inserting new items.
(Inherited from BaseCollection<(Of <(<'T>)>)>.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnCollectionChanged | (Inherited from C1ObservableKeyedCollection<(Of <(<'TKey, TItem>)>)>.) | |
Remove(TKey) |
Removes the element with the specified key from the KeyedCollection<(Of <(<'TKey, TItem>)>)>. (Inherited from KeyedCollection<(Of <(<'Guid, Resource>)>)>KeyedCollection<(Of <(<'TKey, TItem>)>)>.) |
|
Remove(T) |
Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'Resource>)>)>Collection<(Of <(<'T>)>)>.) |
|
RemoveAt |
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'Resource>)>)>.) |
|
RemoveItem |
Overrides base class implementation.
(Inherited from BaseCollection<(Of <(<'T>)>)>.) |
|
SetItem | (Inherited from C1ObservableKeyedCollection<(Of <(<'TKey, TItem>)>)>.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Comparer |
Gets the generic equality comparer that is used to determine equality of keys in the collection. (Inherited from KeyedCollection<(Of <(<'Guid, Resource>)>)>.) |
|
Count |
Gets the number of elements actually contained in the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'Resource>)>)>.) |
|
Dictionary |
Gets the lookup dictionary of the KeyedCollection<(Of <(<'TKey, TItem>)>)>. (Inherited from KeyedCollection<(Of <(<'Guid, Resource>)>)>.) |
|
Item[([( Guid])]) |
Gets the element with the specified key if any.
(Inherited from BaseCollection<(Of <(<'T>)>)>.) |
|
Item[([( Int32])]) |
Gets or sets the element at the specified index. (Inherited from Collection<(Of <(<'Resource>)>)>Collection<(Of <(<'T>)>)>.) |
|
Items |
Gets a IList<(Of <(<'T>)>)> wrapper around the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'Resource>)>)>.) |
|
OwnerInternal | (Inherited from BaseCollection<(Of <(<'T>)>)>.) |