Compartir a través de


: QueryResultBase.OnInit (Método) (Object, EventArgs) (Microsoft.SharePoint.Portal.WebControls)

The OnInit method of the QueryResultBase class overrides the Microsoft.SharePoint.WebPartPages.WebPart.OnInit method. This method raises the System.Web.UI.Control.Init event that occurs as this Web Part is instantiated.

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

Sintaxis

'Declaración
Protected Overrides Sub OnInit ( _
    sender As Object, _
    e As EventArgs _
)
'Uso
Dim sender As Object
Dim e As EventArgs

Me.OnInit(sender, e)
protected override void OnInit (
    Object sender,
    EventArgs e
)

Parámetros

  • sender
    The sender of the event.
  • e
    A System.EventArgs object that contains the event data.

Vea también

Referencia

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