TreeNodeTypeCollection Class

This class represents a collection of TreeNodeType objects within a TreeView.

Syntax

Visual Basic  Public  Class TreeNodeTypeCollection Inherits BaseChildNodeCollection
C# public   class TreeNodeTypeCollection : BaseChildNodeCollection
Managed C++ public:  __gc class TreeNodeTypeCollection :  public BaseChildNodeCollection
JScript public   class TreeNodeTypeCollection extends BaseChildNodeCollection

Inheritance Hierarchy

Members Table

The following table lists the members exposed by the TreeNodeTypeCollection object.

Attributes/Properties
Property Description
Item Retrieves the item in the collection that matches the int being searched for.
Parent Sets or retrieves the parent object of a TreeNodeTypeCollection.
Methods
Method Description
Add Adds a TreeNodeType to the TreeNodeTypeCollection.
AddAt Adds a TreeNodeType to the TreeNodeTypeCollection at a specified index.
Contains Determines whether a TreeNodeType is in the TreeNodeTypeCollection.
IndexOf Determines the index of a TreeNodeType within the TreeNodeTypeCollection.
OnInsert Sets the object properties when adding a new object to the collection.
OnSet Called when a node's properties are being set.
Remove Removes a TreeNodeType from the TreeNodeTypeCollection.

Class Information

Namespace Microsoft.Web.UI.WebControls
Assembly Microsoft.Web.UI.WebControls.dll

See Also

Show: