Share via


Contains Method

Determines whether a ToolbarCheckButton is in the ToolbarCheckButtonCollection.

Syntax

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

Parameters

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

Return Value

Returns one of the following possible values.

false The ToolbarCheckButton is not in the ToolbarCheckButtonCollection.
true The ToolbarCheckButton is in the ToolbarCheckButtonCollection.

Applies To

ToolbarCheckButtonCollection

See Also

Internet Explorer WebControls, About the Toolbar WebControl