Compartilhar via


PortalSiteMapDataSourceSwitch.OnInit Method

Represents the OnInit event.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Protected Overrides Sub OnInit ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnInit(e)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
protected override void OnInit(
    EventArgs e
)

Parameters

Remarks

f the web is in the UI mode for , use the same provider that was used in Office SharePoint Server 2007.

See Also

Reference

PortalSiteMapDataSourceSwitch Class

PortalSiteMapDataSourceSwitch Members

Microsoft.SharePoint.Publishing.Navigation Namespace