| Win | 
 Inheritance Hierarchy
Inheritance Hierarchy Syntax
SyntaxThe Win32ToolBarToolBarButtonCollection type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | Win32ToolBarToolBarButtonCollection | Initializes a new instance of the Win32ToolBarToolBarButtonCollection class and assigns it to the specified toolbar. | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Count | Gets the number of buttons in the toolbar button collection. | 
|  | IsReadOnly | Gets a value indicating whether the collection is read-only. | 
|  | ItemInt32 | Gets or sets the toolbar button at the specified indexed location in the toolbar button collection. | 
|  | ItemString | Gets a Win32ToolBarButton with the specified key from the collection. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Add(String) | Adds a new toolbar button to the end of the toolbar button collection with the specified Text property value. | 
|  | Add(Win32ToolBarButton) | Adds the specified toolbar button to the end of the toolbar button collection. | 
|  | AddRange | Adds a collection of toolbar buttons to this toolbar button collection. | 
|  | Clear | Removes all buttons from the toolbar button collection. | 
|  | Contains | Determines if the specified toolbar button is a member of the collection. | 
|  | ContainsKey | Determines if a Win32ToolBarButton with the specified key is contained in the collection. | 
|  | GetEnumerator | Returns an enumerator that can be used to iterate through the toolbar button collection. | 
|  | IndexOf | Retrieves the index of the specified toolbar button in the collection. | 
|  | IndexOfKey | Retrieves the index of the first occurrence of a Win32ToolBarButton with the specified key. | 
|  | Insert | Inserts an existing toolbar button in the toolbar button collection at the specified location. | 
|  | Remove | Removes a given button from the toolbar button collection. | 
|  | RemoveAt | Removes a given button from the toolbar button collection. | 
|  | RemoveByKey | Removes the Win32ToolBarButton with the specified key from the collection. | 
 See Also
See Also