NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FileDialog.CheckFileExists

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]
Overridable Public Property CheckFileExists As Boolean
[C#]
public bool CheckFileExists {virtual get; virtual set;}
[C++]
public: __property virtual bool get_CheckFileExists();
public: __property virtual void set_CheckFileExists(bool);
[JScript]
public function get CheckFileExists() : Boolean;
public function set CheckFileExists(Boolean);

Property Value

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

Remarks

The default value is true for an inheriting OpenFileDialog and false for an inheriting SaveFileDialog.

See Also

FileDialog Class | FileDialog Members | System.WinForms Namespace | CheckPathExists | PromptFileNotFound