BasicDesignerLoader.ReloadOptions Enum

Definition

Defines the behavior of the Reload(BasicDesignerLoader+ReloadOptions) method. These flags can be combined using the bitwise OR operator.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
protected enum BasicDesignerLoader.ReloadOptions
Inheritance
BasicDesignerLoader.ReloadOptions
Attributes

Fields

Name Value Description
Default 0

The designer loader flushes changes before reloading, but it does not force a reload, and it also does not set the Modified property to true if load errors occur.

ModifyOnError 1

The designer loader will set the Modified property to true if load errors occur. This flag is useful if you want a flush of the loader to overwrite persistent state that had errors.

Force 2

The designer loader forces the reload to occur. Normally, a reload occurs only if the IsReloadNeeded() method returns true. This flag bypasses calling this method and always performs the reload.

NoFlush 4

The designer loader abandons any changes before reloading.

Applies to

Product Versions
.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

See also