共用方式為


FileDialog.AddExtension 屬性

定義

取得或設定值,指出當使用者遺漏副檔名時,檔案對話方塊是否自動加入檔案的副檔名。

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

屬性值

如果加入副檔名則為 true;否則為 false。 預設為 true

屬性

適用於