Win32ToolBarToolBarButtonCollectionIndexOfKey Method |
Retrieves the index of the first occurrence of a
Win32ToolBarButton with the specified key.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax public virtual int IndexOfKey(
string key
)
Public Overridable Function IndexOfKey (
key As String
) As Integer
public:
virtual int IndexOfKey(
String^ key
)
abstract IndexOfKey :
key : string -> int
override IndexOfKey :
key : string -> int
Parameters
- key
- Type: SystemString
The name of the Win32ToolBarButton to search for.
Return Value
Type:
Int32The index of the first occurrence of a
Win32ToolBarButton with the specified key, if found; otherwise, -1.
See Also