IndexOf Method

Determines the zero-based index of a TabItem within the TabItemCollection.

Syntax

Visual Basic  Public  Function 
IndexOf( ByVal oItem As TabItem ) As int
C# public  int 
IndexOf(TabItem oItem );
Managed C++ public:  int 
IndexOf(TabItem oItem );
JScript public  function
IndexOf(oItem : TabItem );

Parameters

oItem Required. The TabItem object to search for in the collection.

Return Value

The zero-based index of a TabItem within the TabItemCollection.

Applies To

TabItemCollection

See Also

Internet Explorer WebControls, About the TabStrip WebControl