This documentation is archived and is not being maintained.

SaveFileDialog.CreatePrompt Property

Gets or sets a value indicating whether SaveFileDialog prompts the user for permission to create a file if the user specifies a file that does not exist.

Namespace: Microsoft.Win32
Assembly: PresentationFramework (in presentationframework.dll)

public bool CreatePrompt { get; set; }
/** @property */
public boolean get_CreatePrompt ()

/** @property */
public void set_CreatePrompt (boolean value)

public function get CreatePrompt () : boolean

public function set CreatePrompt (value : boolean)

<object CreatePrompt="bool" .../>

Property Value

true if dialog should prompt prior to saving to a filename that did not previously exist; otherwise, false. The default is false.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: