BasicDesignerLoader.Initialize Method

Definition

Initializes services.

C#
protected virtual void 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

Tuote Versiot
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.1, 5, 6, 7, 8, 9, 10