TreeNode::Clone Method ()

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected:
virtual Object^ Clone()

Return Value

Type: System::Object^

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

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

.NET Framework
Available since 2.0
Return to top
Show: