Redigera

Dela via


TreeNode.Clone Method

Definition

Creates a new instance of the TreeNode class with the properties of the current TreeNode instance.

protected:
 virtual System::Object ^ Clone();
protected virtual object Clone ();
abstract member Clone : unit -> obj
override this.Clone : unit -> obj
Protected Overridable Function Clone () As Object

Returns

A new instance of TreeNode with the properties of the current TreeNode instance.

Remarks

This is a helper method that supports the ICloneable interface implemented by TreeNode.

Applies to

See also