'Declaration Public Function IndexOf( _ ByVal button As ToolBarButton _ ) As Integer
'Usage Dim instance As ToolBarButtonCollection Dim button As ToolBarButton Dim value As Integer value = instance.IndexOf(button)
public int IndexOf( ToolBarButton button )
Parameters
- button
- The toolbar button to search for.
Return Value
The index of the button if it exists in the collection, -1 otherwise.