This documentation is archived and is not being maintained.
TreeNodeCollection Methods
Visual Studio 2008
The TreeNodeCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Appends the specified TreeNode object to the end of the TreeNodeCollection object. |
|
AddAt | Inserts the specified TreeNode object in a TreeNodeCollection object at the specified index location. |
|
Clear | Empties the TreeNodeCollection object. |
|
Contains | Determines whether the specified TreeNode object is in the collection. |
|
CopyTo | 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 | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | Returns an enumerator that can be used to iterate through a TreeNodeCollection object. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
IndexOf | Determines the index of the specified TreeNode object. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove | Removes the specified TreeNode object from the TreeNodeCollection object. |
|
RemoveAt | 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 | |
|---|---|---|
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
|
ICollection::CopyTo | Infrastructure. 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 | Infrastructure. Loads the TreeNodeCollection object's previously saved view state. |
|
IStateManager::SaveViewState | Infrastructure. Saves the changes to view state to a System::Object. |
|
IStateManager::TrackViewState | Infrastructure. Instructs the TreeNodeCollection to track changes to its view state. |
Show: