This documentation is archived and is not being maintained.

RootDesignerSerializerAttribute.Reloadable Property

Gets a value indicating whether the root serializer supports reloading of the design document without first disposing the designer host.

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

public bool Reloadable { get; }

Property Value

Type: System.Boolean
true if the root serializer supports reloading; otherwise, false.

If this property is set to false, the design document does not automatically perform a reload on behalf of the user. If this property is set to false, it is the user's responsibility to reopen the designer view window for the design document, if an update or reload is desired.

Some serializers require the interaction of external components in the designer loading process in order to rebuild the design document. These serializers sometimes need to create a new designer host each time the design document is loaded. If this is the situation, Reloadable will be set to false, and the designer host must be recreated by user interaction (launching the designer for the document) after the design document is disposed. The events and services that were connected to the designer host, except through deserialization, do not remain and may need to be set again. If Reloadable is true, the design document can be reloaded after changes outside the designer are made to the code, without closing the designer window and reopening it.

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, 1.1, 1.0