RemoveNode Method

XmlSiteMapProvider::RemoveNode Method (SiteMapNode^)

 

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

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

public protected:
virtual void RemoveNode(
	SiteMapNode^ node
) override

Parameters

node
Type: System.Web::SiteMapNode^

The node to remove from the node collections.

Exception Condition
InvalidOperationException

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.

ArgumentNullException

node is null.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft