ApplicationSettingsBase.Context Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the application settings context associated with the settings group.
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
A SettingsContext associated with the settings group.
- Attributes
Each settings wrapper class derived from ApplicationSettingsBase has a context associated with it. The context is passed to the settings provider for each property to identify how the property is used. Context therefore acts as a hint to help the settings provider determine how best to persist the associated application settings values.
In contrast, the SettingsKey property enables the settings provider to disambiguate multiple instances of the same wrapper class.
Termék | Verziók |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: