IDesignerLoaderHost2.CanReloadWithErrors 屬性

定義

取得或設定值,指出在發生錯誤時是否能重新載入。

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

屬性值

如果在偵測到錯誤時設計工具載入器可以重新載入設計文件,則為 true,否則為 false。 預設為 false

備註

在某些情況下,無法忽略載入錯誤。 設計工具載入器實作應該會在這種情況時傳回 false

適用於

另請參閱