System.Web.UI.WebControls.TreeNodeCollection Members

The members of System.Web.UI.WebControls.TreeNodeCollection are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.TreeNodeCollection class using the default values.

Initializes a new instance of the System.Web.UI.WebControls.TreeNodeCollection class using the specified parent node (or owner).

Public Properties

[read-only]
Countint.

Gets the number of items in the System.Web.UI.WebControls.TreeNodeCollection object.

[read-only]
IsSynchronizedbool.

Gets a value indicating whether access to the System.Web.UI.WebControls.TreeNodeCollection is synchronized (thread safe).

[read-only]
default property
Item(int)TreeNode. Documentation for this section has not yet been entered.
[read-only]
SyncRootobject.

Gets an object that can be used to synchronize access to the System.Web.UI.WebControls.TreeNodeCollection object.

Public Methods

Add(TreeNode)

Appends the specified System.Web.UI.WebControls.TreeNode object to the end of the System.Web.UI.WebControls.TreeNodeCollection object.

AddAt(int, TreeNode)

Inserts the specified System.Web.UI.WebControls.TreeNode object in a System.Web.UI.WebControls.TreeNodeCollection object at the specified index location.

Clear()

Empties the System.Web.UI.WebControls.TreeNodeCollection object.

Contains(TreeNode) : bool

Determines whether the specified System.Web.UI.WebControls.TreeNode object is in the collection.

CopyTo(TreeNode[], int)

Copies all the items from the System.Web.UI.WebControls.TreeNodeCollection object to a compatible one-dimensional array of System.Web.UI.WebControls.TreeNode objects, starting at the specified index in the target array.

GetEnumerator() : IEnumerator

Returns an enumerator that can be used to iterate through a System.Web.UI.WebControls.TreeNodeCollection object.

IndexOf(TreeNode) : int

Determines the index of the specified System.Web.UI.WebControls.TreeNode object.

Remove(TreeNode)

Removes the specified System.Web.UI.WebControls.TreeNode object from the System.Web.UI.WebControls.TreeNodeCollection object.

RemoveAt(int)

Removes the System.Web.UI.WebControls.TreeNode object at the specified index location from the System.Web.UI.WebControls.TreeNodeCollection object.

Explicitly Implemented Interface Members

ICollection.CopyTo

Copies all the items from the System.Web.UI.WebControls.TreeNodeCollection object to a compatible one-dimensional Array, starting at the specified index in the target array.

[read-only]
System.Web.UI.IStateManager.IsTrackingViewStatebool.

Gets a value indicating whether the System.Web.UI.WebControls.TreeNodeCollection object is saving changes to its view state.

System.Web.UI.IStateManager.LoadViewState

Loads the System.Web.UI.WebControls.TreeNodeCollection object's previously saved view state.

System.Web.UI.IStateManager.SaveViewState

Saves the changes to view state to a object.

System.Web.UI.IStateManager.TrackViewState

Instructs the System.Web.UI.WebControls.TreeNodeCollection to track changes to its view state.