Leadtools.WinForms.CommonDialogs.File Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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;}
Managed Extensions for C++ 
public: __property bool get_CheckFileExists();
public: __property void set_CheckFileExists( 
   bool value
);
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