Share via


TabIndexOf Method

Determines the tab-based index of a Tab within the TabItemCollection.

Syntax

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

Parameters

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

Return Value

The tab-based index of a Tab within the TabItemCollection.

Applies To

TabItemCollection

See Also

Internet Explorer WebControls, About the TabStrip WebControl