SiteMapProvider.RemoveNode(SiteMapNode) Method

Definition

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

protected public:
 virtual void RemoveNode(System::Web::SiteMapNode ^ node);
protected internal virtual void RemoveNode (System.Web.SiteMapNode node);
abstract member RemoveNode : System.Web.SiteMapNode -> unit
override this.RemoveNode : System.Web.SiteMapNode -> unit
Protected Friend Overridable Sub RemoveNode (node As SiteMapNode)

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

See also