SiteMapProvider.RemoveNode(SiteMapNode) Method

Definition

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

C#
protected internal virtual void RemoveNode(System.Web.SiteMapNode node);

Parameters

node
SiteMapNode

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

Exceptions

In all cases.

Remarks

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also