Assembly: System (in system.dll)
DesignerLoader can be implemented to support custom loading of a designer and designer components. A designer loader is also responsible for writing changes to an open document back to the storage the loader used when loading the document after the Flush method is called.
By default, the Visual Studio development environment creates its own variety of DesignerLoader that can load basic designer projects. To create a custom designer loader, you must inherit from and implement the abstract DesignerLoader class. You cannot directly instantiate DesignerLoader, as it has no public constructor.
When BeginLoad is invoked, the designer loader loads the design document, displays the designer surface using the IDesignerHost interface, and calls EndLoad on the IDesignerLoaderHost interface when done. The IDesignerLoaderHost implementation is usually the same class that implements IDesignerHost.
The HostProtectionAttribute attribute applied to this class has the following Resources property value: SharedState. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.