Win32ToolBar.ToolBarButtonCollection.Item Property (Int32) |
Gets or sets the toolbar button at the specified indexed location in the toolbar button collection.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntaxpublic virtual Win32ToolBarButton this[
int index
] { get; set; }
Public Overridable Default Property Item (
index As Integer
) As Win32ToolBarButton
Get
Set
public:
virtual property Win32ToolBarButton^ default[int index] {
Win32ToolBarButton^ get (int index);
void set (int index, Win32ToolBarButton^ value);
}
abstract Item : Win32ToolBarButton with get, set
override Item : Win32ToolBarButton with get, set
Parameters
- index
- Type: System.Int32
The indexed location of the Win32ToolBarButton in the collection.
Return Value
Type:
Win32ToolBarButtonA
Win32ToolBarButton that represents the toolbar button at the specified indexed location.
ExceptionsException | Condition |
---|
ArgumentNullException | The index value is null. |
ArgumentOutOfRangeException | The index value is less than zero.
-or-
The index value is greater than the number of buttons in the collection, and the collection of buttons is not null. |
See Also