This documentation is archived and is not being maintained.

BasicDesignerLoader.Initialize Method

Initializes services.

Namespace:  System.ComponentModel.Design.Serialization
Assembly:  System.Design (in System.Design.dll)

protected virtual void Initialize()


The IDesignerLoaderHost has not been initialized.


The IDesignerLoaderHost has been disposed.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0