This documentation is archived and is not being maintained.

TreeNode Methods

The TreeNode type exposes the following members.

  NameDescription
Public method BeginEdit Initiates the editing of the tree node label.
Public method Supported by the .NET Compact Framework Clone Copies the tree node and the entire subtree rooted at this tree node.
Public method Supported by the .NET Compact Framework Collapse Overloaded. Collapses the TreeNode.
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 Supported by the .NET Compact Framework EnsureVisible Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Expand Expands the tree node.
Public method Supported by the .NET Compact Framework ExpandAll Expands all the child tree nodes.
Protected method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (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 Supported by the .NET Compact Framework GetNodeCount Returns the number of child tree nodes.
Public method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Public method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework Toggle Toggles the tree node to either the expanded or collapsed state.
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Overrides Object.ToString().)
Top

  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Populates a serialization information object with the data needed to serialize the TreeNode.
Top
Show: