Clone Method
Collapse the table of content
Expand the table of content

SiteMapNode.Clone Method ()

 

Creates a new node that is a copy of the current node.

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

public virtual SiteMapNode Clone()

Return Value

Type: System.Web.SiteMapNode

A new node that is a copy of the current node.

Calls the Clone method with the parameter set to false. The provider, Title, Url, Description, and Key properties are copied. The Roles and Attributes collections are copied to new collections. Ancestor and child nodes are not cloned.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft