Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RemoveNode Method

SiteMapProvider.RemoveNode Method

Removes the specified SiteMapNode object from the node collection that is maintained by the site map provider.

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

protected internal virtual void RemoveNode(
	SiteMapNode node
)

Parameters

node
Type: System.Web.SiteMapNode

The SiteMapNode to remove from the node collection maintained by the provider.

ExceptionCondition
NotImplementedException

In all cases.

Classes deriving from the SiteMapProvider class can override the RemoveNode method and provide logic for removing SiteMapNode objects from the node collection that is maintained by the site map provider. The default implementation of the RemoveNode method throws a NotImplementedException exception.

.NET Framework

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