Retrieves the index of the specified toolbar button in the collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Function IndexOf( _
ByVal value As Tool _
) As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ToolsCollection
Dim value As Tool
Dim value As Integer
value = instance.IndexOf(value)
|
Parameters
- value
- The Tool to locate in the collection.
Return Value
The zero-based index of the item found in the collection; otherwise, -1.
See Also