OpenFileDialog.CheckFileExists 屬性

定義

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

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

屬性值

Boolean

如果當使用者指定不存在的檔名時對話方塊顯示警告訊息,則為 true,否則為 false。 預設值是 true

適用於

另請參閱