IDesignerLoaderHost2.IgnoreErrorsDuringReload 属性

定义

获取或设置一个值,以指示在调用 Reload() 时是否应忽略错误。Gets or sets a value indicating whether errors should be ignored when Reload() is called.

public:
 property bool IgnoreErrorsDuringReload { bool get(); void set(bool value); };
public bool IgnoreErrorsDuringReload { get; set; }
member this.IgnoreErrorsDuringReload : bool with get, set
Public Property IgnoreErrorsDuringReload As Boolean

属性值

Boolean

如果设计器加载程序在重新加载时将忽略错误,则为 true;否则为 falsetrue if the designer loader will ignore errors when it reloads; otherwise, false. 默认为 falseThe default is false.

注解

如果 trueCanReloadWithErrors,则 IgnoreErrorsDuringReload 属性只能设置为 trueThe IgnoreErrorsDuringReload property can only be set to true if CanReloadWithErrors is true. 如果 falseCanReloadWithErrors,则将忽略 IgnoreErrorsDuringReload 的值。If CanReloadWithErrors is false, the value of IgnoreErrorsDuringReload is ignored.

适用于

另请参阅