Version

IndexOf Method (ToolbarItemCollection)

Searches the collection for the object and returns the zero-based index of the first occurrence within the collection.
Overload List
OverloadDescription
IndexOf(BaseToolbarItem)Searches the collection for the object and returns the zero-based index of the first occurrence within the collection.  
IndexOf(ToolbarItemType)Searches the collection for a BaseToolbarItem based on the Type property and returns the zero-based index of the first occurrence within the collection.  
IndexOf(Object)Searches for the specified System.Object and returns the zero-based index of the first occurrence within the entire System.Collections.ArrayList. (Inherited from System.Collections.ArrayList)
IndexOf(Object,Int32)Searches for the specified System.Object and returns the zero-based index of the first occurrence within the range of elements in the System.Collections.ArrayList that extends from the specified index to the last element. (Inherited from System.Collections.ArrayList)
IndexOf(Object,Int32,Int32)Searches for the specified System.Object and returns the zero-based index of the first occurrence within the range of elements in the System.Collections.ArrayList that starts at the specified index and contains the specified number of elements. (Inherited from System.Collections.ArrayList)
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also