Contains Method

Determines whether a TreeNodeType is in the TreeNodeTypeCollection.

Syntax

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

Parameters

oNodeType Required. TreeNodeType object to search for in the collection.

Return Value

Returns one of the following possible values.

false Default. The TreeNodeType is not in the TreeNodeTypeCollection.
true The TreeNodeType is in the TreeNodeTypeCollection.

Applies To

TreeNodeTypeCollection

See Also

Internet Explorer WebControls, About the TreeView WebControl