TreeNode Methods

TreeNode Methods

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodBeginEdit()

Initiates the editing of the tree node label.

System_CAPS_pubmethodClone()

Copies the tree node and the entire subtree rooted at this tree node.

System_CAPS_pubmethodCollapse()

Collapses the tree node.

System_CAPS_pubmethodCollapse(Boolean)

Collapses the TreeNode and optionally collapses its children.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodDeserialize(SerializationInfo, StreamingContext)

Loads the state of the TreeNode from the specified SerializationInfo.

System_CAPS_pubmethodEndEdit(Boolean)

Ends the editing of the tree node label.

System_CAPS_pubmethodEnsureVisible()

Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExpand()

Expands the tree node.

System_CAPS_pubmethodExpandAll()

Expands all the child tree nodes.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromHandle(TreeView, IntPtr)

Returns the tree node with the specified handle and assigned to the specified tree view control.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetNodeCount(Boolean)

Returns the number of child tree nodes.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodRemove()

Removes the current tree node from the tree view control.

System_CAPS_protmethodSerialize(SerializationInfo, StreamingContext)

Saves the state of the TreeNode to the specified SerializationInfo.

System_CAPS_pubmethodToggle()

Toggles the tree node to either the expanded or collapsed state.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

Populates a serialization information object with the data needed to serialize the TreeNode.

Return to top
Show:
© 2016 Microsoft