This documentation is archived and is not being maintained.

XmlSiteMapProvider.RemoveNode Method

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
Not applicable.



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 or by a provider in the chain of parent providers for this provider.


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

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