TreeNodeCollection Methods
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | Add(TreeNode^) | Appends the specified TreeNode object to the end of the TreeNodeCollection object. |
![]() | AddAt(Int32, TreeNode^) | Inserts the specified TreeNode object in a TreeNodeCollection object at the specified index location. |
![]() | Clear() | Empties the TreeNodeCollection object. |
![]() | Contains(TreeNode^) | Determines whether the specified TreeNode object is in the collection. |
![]() | CopyTo(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. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator that can be used to iterate through a TreeNodeCollection object. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IndexOf(TreeNode^) | Determines the index of the specified TreeNode object. |
![]() | Remove(TreeNode^) | Removes the specified TreeNode object from the TreeNodeCollection object. |
![]() | RemoveAt(Int32) | Removes the TreeNode object at the specified index location from the TreeNodeCollection object. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::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. |
![]() ![]() | IStateManager::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. |
![]() ![]() | IStateManager::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. |
![]() ![]() | IStateManager::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. |


