This documentation is archived and is not being maintained.
FileDialog.CheckPathExists Property
.NET Framework 1.1
Gets or sets a value indicating whether the dialog box displays a warning if the user specifies a path that does not exist.
[Visual Basic] Public Property CheckPathExists As Boolean [C#] public bool CheckPathExists {get; set;} [C++] public: __property bool get_CheckPathExists(); public: __property void set_CheckPathExists(bool); [JScript] public function get CheckPathExists() : Boolean; public function set CheckPathExists(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.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- FileIOPermission to display a warning if the user specifies a path that already exists. Associated enumeration: PermissionState.Unrestricted.
See Also
FileDialog Class | FileDialog Members | System.Windows.Forms Namespace | CheckFileExists
Show: