ApplicationSettingsBase.Properties 屬性

定義

取得包裝函式中設定屬性的集合。

public:
 virtual property System::Configuration::SettingsPropertyCollection ^ Properties { System::Configuration::SettingsPropertyCollection ^ get(); };
[System.ComponentModel.Browsable(false)]
public override System.Configuration.SettingsPropertyCollection Properties { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Properties : System.Configuration.SettingsPropertyCollection
Public Overrides ReadOnly Property Properties As SettingsPropertyCollection

屬性值

SettingsPropertyCollection,包含目前包裝函式中使用的所有 SettingsProperty 物件。

屬性

例外狀況

找不到相關的設定提供者,或其執行個體化已失敗。

備註

屬性 getProperties 存取子會反映衍生自 ApplicationSettingsBase之設定包裝函式類別的元數據,以動態判斷可用的應用程式設定屬性集。

類別 ApplicationSettingsBase 會原生辨識應用程式設定的特定特性,例如其名稱、屬性類型、設定提供者、預設值、只讀狀態,以及串行化喜好設定。 這些特性會鏡像為 類別中的 SettingsProperty 屬性。 設定屬性的所有其他屬性只會傳遞至其相關聯的設定提供者。

適用於

另請參閱