This documentation is archived and is not being maintained.
OpenFileDialog.CheckFileExists Property
.NET Framework 1.1
Gets or sets a value indicating whether the dialog box displays a warning if the user specifies a file name that does not exist.
[Visual Basic] Overrides Public Property CheckFileExists As Boolean [C#] public override bool CheckFileExists {get; set;} [C++] public: __property bool get_CheckFileExists(); public: __property void set_CheckFileExists(bool); [JScript] public override function get CheckFileExists() : Boolean; public override function set CheckFileExists(Boolean);
Property Value
true if the dialog box displays a warning when the user specifies a file name 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
See Also
OpenFileDialog Class | OpenFileDialog Members | System.Windows.Forms Namespace
Show: