The following tables list the members exposed by CommandCollection.
Name | Description | |
---|---|---|
Capacity | Gets or sets the number of elements that the CollectionBase can contain. (Inherited from System.Collections.CollectionBase) | |
Count | Gets the number of elements contained in the CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
Item | Gets or sets the object at the specified index within the collection. Gets or sets the Command at the specified index within the collection. |
Name | Description | |
---|---|---|
Add | Adds the specified Command object to the collection. Adds the specified Command object to the CommandCollection. | |
Clear | Removes all objects from the CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
Contains | Determines whether the specified Command is in the collection. Determines whether the specified Command is in the CommandCollection. | |
Dispose | Disposes of an object via the IDisposable interface. Disposes of the current object. (Inherited from CommandElementCollection) | |
FindCommand | Overloaded. Finds a Command in the collection. | |
GetEnumerator | Returns an enumerator that iterates through the CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
IndexOf |
Retrieves the index of a specified object in the collection, or -1 if not found. Returns the zero-based index of the first occurrence of a Command in the CommandCollection. | |
Insert | Inserts a Command into the collection. Inserts a Command into the CommandCollection. | |
Remove |
Removes the first occurrence of a specified object from the collection. Removes a Command from the CommandCollection. | |
RemoveAt | Removes the element at the specified index of the CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
UpdateUI | Invalidates (i.e. updates) all visual controls connected with the Command objects in the collection. Invalidates all visual controls connected with Command elements in the CommandCollection. |