←Select platform

PromptOverwrite Property

Summary

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

Syntax

C#
VB
C++
public bool PromptOverwrite {get; set;}
Public Property PromptOverwrite As Boolean
public: 
property bool PromptOverwrite { 
   bool get(); 
   void set (    bool value); 
} 

Property 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms.CommonDialogs.File Assembly
Click or drag to resize