XmlSiteMapProvider.RemoveNode(SiteMapNode) Method

Definition

Removes the specified SiteMapNode object from all node collections that are tracked by the provider.

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

Parameters

node
SiteMapNode

The node to remove from the node collections.

Exceptions

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 null.

Applies to

See also