SiteMapProvider.RemoveNode(SiteMapNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.