Initializes the SiteMapProvider implementation, including any resources that are needed to load site map data from persistent storage.

Namespace:  EPiServer
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public override void Initialize(
	string name,
	NameValueCollection attributes
)

Parameters

name
Type: System..::.String
The Name of the provider to initialize.
attributes
Type: System.Collections.Specialized..::.NameValueCollection
A NameValueCollection that can contain additional attributes to help initialize the provider. These attributes are read from the site map provider configuration in the Web.config file.

Remarks

The attributes argument accepts the following entries
  • enableVisibleInMenu
  • startPageLink
  • startPageLinkProperty
  • allowNestedPageSiteMapProvider

See Also