NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SaveFileDialog.CreatePrompt

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

[Visual Basic]
Public Property CreatePrompt As Boolean
[C#]
public bool CreatePrompt {get; set;}
[C++]
public: __property bool get_CreatePrompt();
public: __property void set_CreatePrompt(bool);
[JScript]
public function get CreatePrompt() : Boolean;
public function set CreatePrompt(Boolean);

Property Value

true if the dialog box prompts the user before creating a file if the user specifies a file name that does not exist; false if the dialog box automatically creates the new file without prompting the user for permission. The default value is false.

Requirements

NGWS Runtime Security:

UIPermission You must have the System.security.Permissions.UIPermission for all windows to set this property.

See Also

SaveFileDialog Class | SaveFileDialog Members | System.WinForms Namespace