TreeNodeCollection Methods

 

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodAdd(TreeNode^)

Appends the specified TreeNode object to the end of the TreeNodeCollection object.

System_CAPS_pubmethodAddAt(Int32, TreeNode^)

Inserts the specified TreeNode object in a TreeNodeCollection object at the specified index location.

System_CAPS_pubmethodClear()

Empties the TreeNodeCollection object.

System_CAPS_pubmethodContains(TreeNode^)

Determines whether the specified TreeNode object is in the collection.

System_CAPS_pubmethodCopyTo(array<TreeNode^>^, Int32)

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

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can be used to iterate through a TreeNodeCollection object.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(TreeNode^)

Determines the index of the specified TreeNode object.

System_CAPS_pubmethodRemove(TreeNode^)

Removes the specified TreeNode object from the TreeNodeCollection object.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the TreeNode object at the specified index location from the TreeNodeCollection object.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection::CopyTo(Array^, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Copies all the items from the TreeNodeCollection object to a compatible one-dimensional System::Array, starting at the specified index in the target array.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager::LoadViewState(Object^)

This API supports the product infrastructure and is not intended to be used directly from your code. Loads the TreeNodeCollection object's previously saved view state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager::SaveViewState()

This API supports the product infrastructure and is not intended to be used directly from your code. Saves the changes to view state to a System::Object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager::TrackViewState()

This API supports the product infrastructure and is not intended to be used directly from your code. Instructs the TreeNodeCollection to track changes to its view state.

Return to top
Show: