System.Web.SiteMapProvider.AddNode Method

Adds a System.Web.SiteMapNode object to the node collection that is maintained by the site map provider.

Syntax

protected virtual void AddNode (SiteMapNode node)

Parameters

node
The System.Web.SiteMapNode to add to the node collection maintained by the provider.

Remarks

Classes deriving from the System.Web.SiteMapProvider class can override the SiteMapProvider.AddNode(SiteMapNode) method and provide logic for adding a System.Web.SiteMapNode object to the node collection that is maintained by the site map provider. The default implementation of the erload:System.Web.SiteMapProvider.AddNode method throws a NotImplementedException exception.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0