Share via


FileDialog.CheckFileExists Properti

Definisi

Mendapatkan atau mengatur nilai yang menunjukkan apakah dialog file menampilkan peringatan jika pengguna menentukan nama file yang tidak ada.

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

Nilai Properti

true jika peringatan ditampilkan; jika tidak, false. Default di kelas dasar ini adalah false.

Atribut

Keterangan

Kelas OpenFileDialog mengatur properti ini ke true dalam konstruktornya.

Berlaku untuk