FileDialog.CheckPathExists Property

Definition

Gets or sets a value indicating whether the dialog box displays a warning if the user specifies a path that does not exist.

public:
 property bool CheckPathExists { bool get(); void set(bool value); };
public bool CheckPathExists { get; set; }
member this.CheckPathExists : bool with get, set
Public Property CheckPathExists As Boolean

Property Value

true if the dialog box displays a warning when the user specifies a path that does not exist; otherwise, false. The default value is true.

Security

FileIOPermission
to display a warning if the user specifies a path that already exists. Associated enumeration: Unrestricted.

Applies to

See also