FileDialog.CheckPathExists 屬性

定義

取得或設定值,指出如果使用者指定不存在的路徑,對話方塊是否顯示警告訊息。

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

屬性值

如果當使用者指定了不存在的路徑時要顯示警告對話方塊,屬性值為 true,否則為 false。 預設值是 true

適用於

另請參閱