Export (0) Print
Expand All

XmlSiteMapProvider.RemoveNode Method

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)

abstract RemoveNode : 
        node:SiteMapNode -> unit  
override RemoveNode : 
        node:SiteMapNode -> unit

Parameters

node
Type: System.Web.SiteMapNode

The node to remove from the node collections.

ExceptionCondition
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 a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft