Share via


SaveFileDialog.CreatePrompt 屬性

定義

取得或設定值,指出如果使用者指定不存在的檔案,SaveFileDialog 是否會提示使用者提供建立檔案的權限。

public:
 property bool CreatePrompt { bool get(); void set(bool value); };
public bool CreatePrompt { get; [System.Security.SecurityCritical] set; }
public bool CreatePrompt { get; set; }
[<set: System.Security.SecurityCritical>]
member this.CreatePrompt : bool with get, set
member this.CreatePrompt : bool with get, set
Public Property CreatePrompt As Boolean

屬性值

如果對話方塊應該在儲存原本不存在的檔名之前提示使用者,則為 true,否則為 false。 預設為 false

屬性

適用於