This documentation is archived and is not being maintained.
TreeNode Methods
Visual Studio 2010
The TreeNode type exposes the following members.
| Name | Description | |
|---|---|---|
|
Clone | Infrastructure. Creates a new instance of the TreeNode class with the properties of the current TreeNode instance. |
|
Collapse | Collapses the current tree node. |
|
CollapseAll | Collapses the current node and all its child nodes. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Expand | Expands the current tree node. |
|
ExpandAll | Expands the current node and all its child nodes. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from 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.) |
|
LoadViewState | Infrastructure. Loads the previously saved view state of the node. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
RenderPostText | Allows control developers to add additional rendering to the node. |
|
RenderPreText | Allows control developers to add additional rendering to the node. |
|
SaveViewState | Infrastructure. Saves the current view state of the node. |
|
Select | Selects the current node in the TreeView control. |
|
ToggleExpandState | Alternates between the expanded and collapsed state of the node. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TrackViewState | Infrastructure. Marks the starting point at which to begin tracking and saving view state changes to the node. |
| Name | Description | |
|---|---|---|
|
ICloneable::Clone | Infrastructure. Creates a copy of the TreeNode object. |
|
IStateManager::LoadViewState | Infrastructure. Loads the node's previously saved view state. |
|
IStateManager::SaveViewState | Infrastructure. Saves the view state changes to a System::Object. |
|
IStateManager::TrackViewState | Infrastructure. Instructs the TreeNode object to track changes to its view state. |
Show: