Share via


BaseAreaWebPart.OnInit Method (EventArgs)

NOTE: This API is now obsolete.

Obsolete.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<ObsoleteAttribute("This control is obsolete.  Please use PortalSiteMapProvider instead")> _
Protected Overrides Sub OnInit ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnInit(e)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("This control is obsolete.  Please use PortalSiteMapProvider instead")]
protected override void OnInit(
    EventArgs e
)

Parameters

See Also

Reference

BaseAreaWebPart Class

BaseAreaWebPart Members

OnInit Overload

Microsoft.SharePoint.Portal.WebControls Namespace