Partager via


BaseAreaWebPart.OnLoad, méthode (Object, EventArgs) (Microsoft.SharePoint.Portal.WebControls)

Obsolete. Determines what queries need to be issued, based on whether the inheriting class sets properties such as IssueSubAreaQuery to true or false.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Protected Overrides Sub OnLoad ( _
    sender As Object, _
    e As EventArgs _
)
'Utilisation
Dim sender As Object
Dim e As EventArgs

Me.OnLoad(sender, e)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
protected override void OnLoad (
    Object sender,
    EventArgs e
)

Paramètres

  • sender
    Caller
  • e
    Exception

Remarques

If the inheriting class sets public properties and calls its Onload method, the inheriting class needs to call the OnLoad(object,SystemEventArgs) method of the base class.

Voir aussi

Référence

BaseAreaWebPart, classe
Membres BaseAreaWebPart
Microsoft.SharePoint.Portal.WebControls, espace de noms