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

Remarks

The initialization properties of the name value collection correspond to those specified in the provider definition in the web.config file.

See Also

Reference

PortalSiteMapProvider Class

PortalSiteMapProvider Members

Microsoft.SharePoint.Publishing.Navigation Namespace

PortalSiteMapProvider