Partager via


SearchResults.OnInit, méthode (Object, EventArgs) (Microsoft.SharePoint.Portal.WebControls)

Overrides the Microsoft.SharePoint.WebPartPages.WebPart.OnInit method. The OnInit method raises the System.Web.UI.Control.Init event that occurs as this Web Part is instantiated.

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

Syntaxe

'Déclaration
Protected Overrides Sub OnInit ( _
    sender As Object, _
    e As EventArgs _
)
'Utilisation
Dim sender As Object
Dim e As EventArgs

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

Paramètres

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

Voir aussi

Référence

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