FileDialog.CheckFileExists 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會取得或設定一個值,指示若使用者指定不存在的檔名,檔案對話框是否會顯示警告。
public:
virtual property bool CheckFileExists { bool get(); void set(bool value); };
public:
property bool CheckFileExists { bool get(); void set(bool value); };
public virtual bool CheckFileExists { get; [System.Security.SecurityCritical] set; }
public bool CheckFileExists { get; set; }
public virtual bool CheckFileExists { get; set; }
[<set: System.Security.SecurityCritical>]
member this.CheckFileExists : bool with get, set
member this.CheckFileExists : bool with get, set
Public Overridable Property CheckFileExists As Boolean
Public Property CheckFileExists As Boolean
屬性值
true若顯示警告;否則,。 false 此基底類別的預設為 false。
- 屬性
備註
類別在其OpenFileDialog構造子中將此屬性設為 。true