IndexOf Method
Determines the index of a ToolbarItem within the ToolbarItemCollection.
Syntax
Visual Basic Public Function
IndexOf( ByVal oItem As ToolbarItem ) As intC# public int
IndexOf(ToolbarItem oItem );Managed C++ public: int
IndexOf(ToolbarItem oItem );JScript public function
IndexOf(oItem : ToolbarItem );
Parameters
oItem Required. ToolbarItem object to search for in the collection.
Return Value
int. The index of the ToolbarItem object.
Applies To
ToolbarItemCollection
See Also