This documentation is archived and is not being maintained.

XmlSiteMapProvider.RemoveNode Method

Note: This method is new in the .NET Framework version 2.0.

Removes the specified SiteMapNode object from all node collections that are tracked by the provider.

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

protected internal override void RemoveNode (
	SiteMapNode node
protected void RemoveNode (
	SiteMapNode node
protected internal override function RemoveNode (
	node : SiteMapNode



The node to remove from the node collections.

Exception typeCondition


node is the root node of the site map provider that owns it.

- or -

node is not managed by the provider nor by a provider in the chain of parent providers for this provider.


node is a null reference (Nothing in Visual Basic).

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0