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 virtual bool CheckFileExists { get; set; }
public 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 設定します。

適用対象