Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

TreeNodeCollection Class

TreeNodeCollection class is a collection of TreeNode objects.

For a list of all members of this type, see TreeNodeCollection Members.

System.Object
   EO.Web.NavigationItemCollection
      EO.Web.TreeNodeCollection

[Visual Basic]
Public Class TreeNodeCollection
    Inherits NavigationItemCollection
[C#]
public class TreeNodeCollection : NavigationItemCollection

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The TreeNodeCollection class is used to store and manage a collection of TreeNode objects. TreeView object uses it to store top level tree nodes in the Nodes property. TreeNodeGroup object uses it to store the child tree nodes in Nodes property.

You can programmatically manage a TreeNodeCollection object by adding and removing TreeNode objects. To add TreeNode to the collection, use the Add method. To remove nodes from the collection, use the Remove, the RemoveAt, or the Clear method.

Note:
DataBind clears the group's TreeNodes collection.

Requirements

Namespace: EO.Web

Assembly: EO.Web (in EO.Web.dll)

See Also

TreeNodeCollection Members | EO.Web Namespace


Direct link to this topic