Leadtools.WinForms.CommonDialogs.File Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CheckFileExists Property
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterOpenDialog Class : CheckFileExists Property



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

Syntax

Visual Basic (Declaration) 
Public Property CheckFileExists As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterOpenDialog
Dim value As Boolean
 
instance.CheckFileExists = value
 
value = instance.CheckFileExists
C# 
public bool CheckFileExists {get; set;}
C++/CLI 
public:
property bool CheckFileExists {
   bool get();
   void set (bool value);
}

Return Value

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

Example

Refer to RasterOpenDialog example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also