CustomToolBarIndexOf Method |
Retrieves the zero-based index for the button associated with the specified command identifier.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax protected int IndexOf(
int pCommand
)
Protected Function IndexOf (
pCommand As Integer
) As Integer
protected:
int IndexOf(
int pCommand
)
member IndexOf :
pCommand : int -> int
Parameters
- pCommand
- Type: SystemInt32
Command identifier associated with the button.
Return Value
Type:
Int32The zero-based index for the button or
-1 if the specified command identifier is invalid.
See Also