FileDialog.CheckFileExists プロパティ

定義

ユーザーが存在しないファイル名を指定した場合に、ファイル ダイアログに警告を表示するかどうかを示す値を取得または設定します。

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するように設定します。

適用対象