FileDialog.CheckFileExists Vlastnost

Definice

Získá nebo nastaví hodnotu určující, zda dialogové okno souboru zobrazí upozornění, pokud uživatel určuje název souboru, který neexistuje.

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

Hodnota vlastnosti

truejsou-li zobrazena upozornění; v opačném případě . false Výchozí hodnota v této základní třídě je false.

Atributy

Poznámky

Třída OpenFileDialog nastaví tuto vlastnost v true jeho konstruktoru.

Platí pro