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




Gets or sets a value that indicates whether display a a warning if the user specifies a file name that already exists

Syntax

Visual Basic (Declaration) 
Public Property PromptOverwrite As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterSaveDialog
Dim value As Boolean
 
instance.PromptOverwrite = value
 
value = instance.PromptOverwrite
C# 
public bool PromptOverwrite {get; set;}
Managed Extensions for C++ 
public: __property bool get_PromptOverwrite();
public: __property void set_PromptOverwrite( 
   bool value
);
C++/CLI 
public:
property bool PromptOverwrite {
   bool get();
   void set (bool value);
}

Return Value

true to have the Save dialog box display a warning if the user specifies a file name that already exists; otherwise, false.

Example

Refer to RasterSaveDialog 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