Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TreeNode Methods

The TreeNode type exposes the following members.

  Name Description
Public method BeginEdit Initiates the editing of the tree node label.
Public method Clone Copies the tree node and the entire subtree rooted at this tree node.
Public method Collapse() Collapses the tree node.
Public method Collapse(Boolean) Collapses the TreeNode and optionally collapses its children.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Protected method Deserialize Loads the state of the TreeNode from the specified SerializationInfo.
Public method EndEdit Ends the editing of the tree node label.
Public method EnsureVisible Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Expand Expands the tree node.
Public method ExpandAll Expands all the child tree nodes.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member FromHandle Returns the tree node with the specified handle and assigned to the specified tree view control.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetNodeCount Returns the number of child tree nodes.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method Remove Removes the current tree node from the tree view control.
Protected method Serialize Saves the state of the TreeNode to the specified SerializationInfo.
Public method Toggle Toggles the tree node to either the expanded or collapsed state.
Public method ToString Returns a string that represents the current object. (Overrides Object.ToString().)
Top
  Name Description
Explicit interface implemetation Private method ISerializable.GetObjectData Populates a serialization information object with the data needed to serialize the TreeNode.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.