'Usage Dim instance As SideButtonCollection Dim name As String Dim value As Integer value = instance.IndexOfKey(name)
Parameters
- name
- The name of the INamedObject object to search for.
Return Value
The zero-based index of the first occurrence of the INamedObject object with the specified name in the collection.