Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes the SPXmlContentMapProvider object and provides resources used to load site-map data from persistent storage.
Namespace: Microsoft.SharePoint.Navigation
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Sub Initialize ( _
name As String, _
attributes As NameValueCollection _
)
'Usage
Dim instance As SPXmlContentMapProvider
Dim name As String
Dim attributes As NameValueCollection
instance.Initialize(name, attributes)
public override void Initialize(
string name,
NameValueCollection attributes
)
Parameters
name
Type: System.StringThe name of the content-map provider to initialize.
attributes
Type: System.Collections.Specialized.NameValueCollectionA NameValueCollection object that contains additional attributes used in initializing the SPXmlContentMapProvider. These attributes are read from the content-map provider configuration in the web.config file.
Remarks
This method is identical to the SPContentMapProvider method except it also initializes the PathToSiteMapFile parameter if siteMapFile<italics> attributes are present in the web.sitemap file. This method does not actually build a site map; instead, it prepares the SPXmlContentMapProvider object to do it.
See Also
Reference
SPXmlContentMapProvider Members
Microsoft.SharePoint.Navigation Namespace
Initialize