Compartir a través de


: BaseAreaWebPart.OnLoad (Método) (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.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Protected Overrides Sub OnLoad ( _
    sender As Object, _
    e As EventArgs _
)
'Uso
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
)

Parámetros

  • sender
    Caller
  • e
    Exception

Comentarios

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.

Vea también

Referencia

BaseAreaWebPart (Clase)
BaseAreaWebPart (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)