QueryResultBase.OnInit Method
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.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Overrides Sub OnInit ( _
sender As Object, _
e As EventArgs _
)
'Usage
Dim sender As Object
Dim e As EventArgs
Me.OnInit(sender, e)
protected override void OnInit(
Object sender,
EventArgs e
)
Parameters
sender
Type: System.ObjectThe sender of the event.
e
Type: System.EventArgsA System.EventArgs object that contains the event data.