The following tables list the members exposed by CommandUIItemCollection.
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 CommandUIItem at the specified index within the collection. |
Name | Description | |
---|---|---|
Add | Overloaded. Adds a Command or CommandUIItem object to the collection. | |
Clear | Removes all objects from the CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
Contains |
Determines if a specific object is in the collection. Checks for the specified CommandUIItem instance if it exists in the collection. | |
Dispose | Disposes of an object via the IDisposable interface. Disposes of the current object. (Inherited from CommandElementCollection) | |
GetEnumerator | Returns an enumerator that iterates through the CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
IndexOf | Overloaded. Retrieves the index of a specified object in the collection, or -1 if not found. | |
Insert | Overloaded. Inserts a CommandUIItem object into the collection. | |
Remove | Overloaded. Removes a CommandItem from the collection. | |
RemoveAt | Removes the element at the specified index of the CollectionBase instance. (Inherited from System.Collections.CollectionBase) |