Share via


OnInit(object, System.EventArgs) 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.

Parameters

sender    The sender of the event.

e    A System.EventArgs object that contains the event data.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security