Rediger

Del via


BasicDesignerLoader.Initialize Method

Definition

Initializes services.

protected:
 virtual void Initialize();
protected virtual void Initialize ();
abstract member Initialize : unit -> unit
override this.Initialize : unit -> unit
Protected Overridable Sub Initialize ()

Exceptions

The IDesignerLoaderHost has not been initialized.

Remarks

The Initialize method is called the first time BeginLoad is invoked. You can add any services necessary to the designer loader host at this time. The base implementation adds services that BasicDesignerLoader provides, so after calling the base implementation you may replace existing services. You must remove any custom services you add here by overriding Dispose.

Applies to