ApplicationSettingsBase.Context 屬性

定義

取得與設定群組相關的應用程式設定內容。

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

屬性值

與設定群組相關的 SettingsContext

屬性

備註

衍生自 ApplicationSettingsBase 的每個設定包裝函式類別都有與其相關聯的內容。 內容會傳遞至每個屬性的設定提供者,以識別屬性的使用方式。 因此,內容會作為提示,協助設定提供者判斷如何保存相關聯的應用程式設定值。

相反地 SettingsKey ,屬性可讓設定提供者釐清相同包裝函式類別的多個實例。

適用於

另請參閱