Bewerken

Share via


WebZone.OnInit(EventArgs) Method

Definition

Raises the Init event.

protected public:
 override void OnInit(EventArgs ^ e);
protected internal override void OnInit (EventArgs e);
override this.OnInit : EventArgs -> unit
Protected Friend Overrides Sub OnInit (e As EventArgs)

Parameters

e
EventArgs

An EventArgs that contains the event data.

Exceptions

The zone control was added at too late of a stage in the page life cycle, or the WebPartManager is null.

Remarks

The OnInit method overrides the base OnInit method to register a zone with the WebPartManager control.

Applies to

See also