PortalSiteMapProvider.Initialize Method
Initializes the PortalSiteMapProvider object using the specified setting.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Overrides Sub Initialize ( _
name As String, _
config As NameValueCollection _
)
'Usage
Dim instance As PortalSiteMapProvider
Dim name As String
Dim config As NameValueCollection
instance.Initialize(name, config)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public override void Initialize(
string name,
NameValueCollection config
)
Parameters
name
Type: System.StringThe name of the provider.
config
Type: System.Collections.Specialized.NameValueCollectionThe name value collection of initialization properties.
Remarks
The initialization properties of the name value collection correspond to those specified in the provider definition in the web.config file.