System.Web.XmlSiteMapProvider.Initialize Method

Initializes the System.Web.XmlSiteMapProvider object. The XmlSiteMapProvider.Initialize(string, System.Collections.Specialized.NameValueCollection) method does not actually build a site map, it only prepares the state of the System.Web.XmlSiteMapProvider to do so.

Syntax

public override void Initialize (string name, System.Collections.Specialized.NameValueCollection attributes)

Parameters

name
The System.Web.XmlSiteMapProvider to initialize.
attributes
A System.Collections.Specialized.NameValueCollection that can contain additional attributes to help initialize name. These attributes are read from the System.Web.XmlSiteMapProvider configuration in the Web.config file.

Remarks

The System.Web.XmlSiteMapProvider class overrides the inherited XmlSiteMapProvider.Initialize(string, System.Collections.Specialized.NameValueCollection) method to apply several attributes, such as the siteMapFile and description attributes, to the attributes collection.

Requirements

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