Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft