 
            | Miner.Windows Assembly > Miner.Windows.Commands Namespace : CommandBarCommandCollection Class | 
The following tables list the members exposed by CommandBarCommandCollection.
| Name | Description | |
|---|---|---|
|  | Count | Returns the number of Commands defined for the CommandBar. | 
|  | IsReadOnly | Returns whether this collection consists of readonly members. | 
|  | IsSynchronized | Returns whether access to the collection is thread safe. | 
|  | Item | Overloaded. Fetchs a Command from the CommandBar's list of Commands via its index in the list. | 
|  | SyncRoot | Returns an object that can be used to synchronize assess to the collection. | 
| Name | Description | |
|---|---|---|
|  | Add | Adds a Command (based on its key) to the list of Commands. | 
|  | AddCommand | Adds a new Command, defined by its unique key, to the list of Commands. | 
|  | AddCommandRange | Adds a set of Commands, as defined by their keys, to the list of Commands. | 
|  | AddRange | Adds a set of Commands (based on their key) to the list of Commands. | 
|  | Clear | Overloaded. Clears the list of commands for the commandbar. | 
|  | Contains | Overloaded. Returns whether the specified command is in the list of commands for this commandbar. | 
|  | CopyTo | Copies the items in this collection into an array. | 
|  | GetEnumerator | Provides support to allow type-safe iteration over the CommandBar command collection. | 
|  | InsertCommand | Inserts a new Command, defined by its unique key, into the list of Commands. | 
|  | Remove | Overloaded. Removes the specified Command from the list of commands for this CommandBar. |