Click or drag to resize

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
)

Parameters

key
Type: SystemString
The name of the Win32ToolBarButton to search for.

Return Value

Type: Int32
The index of the first occurrence of a Win32ToolBarButton with the specified key, if found; otherwise, -1.
See Also