This documentation is archived and is not being maintained.

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 ()
public SiteMapNode Clone ()
public function Clone () : SiteMapNode
Not applicable.

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0