FileDialog::CheckFileExists Property
.NET Framework (current version)
Gets or sets a value indicating whether a file dialog displays a warning if the user specifies a file name that does not exist.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: property bool CheckFileExists { virtual bool get(); [SecurityCriticalAttribute] virtual void set(bool value); }
Property Value
Type: System::Booleantrue if warnings are displayed; otherwise, false. The default in this base class is false.
The OpenFileDialog class sets this property to true in its constructor.
FileIOPermission
to reset the dialog user interface. Associated enumeration: Unrestricted
.NET Framework
Available since 3.0
Available since 3.0
Show: