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.
- 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.
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.