SaveFileDialog.CreatePrompt 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值, 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。
- 屬性