IndexOf Method

Determines the index of a ToolbarCheckButton within the ToolbarCheckButtonCollection.

Syntax

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

Parameters

oItem Required. ToolbarCheckButton object to search for in the collection.

Return Value

int. The index of the ToolbarCheckButton object.

Applies To

ToolbarCheckButtonCollection

See Also

Internet Explorer WebControls, About the Toolbar WebControl