XmlSiteMapProvider::RemoveNode Method (SiteMapNode^)
.NET Framework (current version)
Removes the specified SiteMapNode object from all node collections that are tracked by the provider.
Assembly: System.Web (in System.Web.dll)
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
Available since 2.0
Show: