Share via


Contains Method

Determines whether there is a TabItem in the TabItemCollection.

Syntax

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

Parameters

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

Return Value

Returns one of the following possible values.

false Default. The TabItem does not exist in the TabItemCollection.
true The TabItem exists in the TabItemCollection.

Applies To

TabItemCollection

See Also

Internet Explorer WebControls, About the TabStrip WebControl