Contains Method

Determines whether a ToolbarItem is in the ToolbarItemCollection.

Syntax

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

Parameters

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

Return Value

Returns one of the following possible values.

false The ToolbarItem is not in the ToolbarItemCollection.
true The ToolbarItem is in the ToolbarItemCollection.

Applies To

ToolbarItemCollection

See Also

Internet Explorer WebControls, About the Toolbar WebControl