Udostępnij przez


FileDialog.CheckFileExists Właściwość

Definicja

Pobiera lub ustawia wartość wskazującą, czy okno dialogowe pliku wyświetla ostrzeżenie, jeśli użytkownik określa nazwę pliku, która nie istnieje.

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

Wartość właściwości

true jeśli są wyświetlane ostrzeżenia; w przeciwnym razie , false. Wartość domyślna w tej klasie bazowej to false.

Atrybuty

Uwagi

Klasa OpenFileDialog ustawia tę właściwość na true w konstruktorze.

Dotyczy