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;} |
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
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