public sealed class CommandCollection : KeyedCollection<string, Command>Public NotInheritable Class CommandCollection
Inherits KeyedCollection(Of String, Command)public ref class CommandCollection sealed : public KeyedCollection<String^, Command^>[<SealedAttribute>]
type CommandCollection =
class
inherit KeyedCollection<string, Command>
end| CommandCollection | Initializes a new instance of the CommandCollection class. |
| Comparer | Gets the generic equality comparer that is used to determine equality of keys in the collection. (Унаследован от KeyedCollectionString, Command) |
| Count | Gets the number of elements actually contained in the CollectionT. (Унаследован от CollectionCommand) |
| Dictionary | Gets the lookup dictionary of the KeyedCollectionTKey, TItem. (Унаследован от KeyedCollectionString, Command) |
| ItemInt32 | Gets or sets the element at the specified index. (Унаследован от CollectionCommand) |
| ItemTKey | Gets the element with the specified key. (Унаследован от KeyedCollectionString, Command) |
| Items | Gets a IListT wrapper around the CollectionT. (Унаследован от CollectionCommand) |
| Add | Adds an object to the end of the CollectionT. (Унаследован от CollectionCommand) |
| ChangeItemKey | Changes the key associated with the specified element in the lookup dictionary. (Унаследован от KeyedCollectionString, Command) |
| Clear | Removes all elements from the CollectionT. (Унаследован от CollectionCommand) |
| ClearItems | Removes all elements from the KeyedCollectionTKey, TItem. (Унаследован от KeyedCollectionString, Command) |
| Contains(T) | Determines whether an element is in the CollectionT. (Унаследован от CollectionCommand) |
| Contains(TKey) | Determines whether the collection contains an element with the specified key. (Унаследован от KeyedCollectionString, Command) |
| CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Унаследован от CollectionCommand) |
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Унаследован от CollectionCommand) |
| GetHashCode | Serves as the default hash function. (Унаследован от Object) |
| GetKeyForItem | When implemented in a derived class, extracts the key from the specified element. (Переопределяет KeyedCollectionTKey, TItemGetKeyForItem(TItem)) |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Унаследован от CollectionCommand) |
| Insert | Inserts an element into the CollectionT at the specified index. (Унаследован от CollectionCommand) |
| InsertItem | Inserts an element into the KeyedCollectionTKey, TItem at the specified index. (Унаследован от KeyedCollectionString, Command) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| Remove(T) | Removes the first occurrence of a specific object from the CollectionT. (Унаследован от CollectionCommand) |
| Remove(TKey) | Removes the element with the specified key from the KeyedCollectionTKey, TItem. (Унаследован от KeyedCollectionString, Command) |
| RemoveAt | Removes the element at the specified index of the CollectionT. (Унаследован от CollectionCommand) |
| RemoveItem | Removes the element at the specified index of the KeyedCollectionTKey, TItem. (Унаследован от KeyedCollectionString, Command) |
| SetItem | Replaces the item at the specified index with the specified item. (Унаследован от KeyedCollectionString, Command) |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |
| TryGetCommand | Gets the command with the specified name. |
| TryGetValue | (Унаследован от KeyedCollectionString, Command) |