Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


ApplicationSettingsBase.Context Property

Definition

Gets the application settings context associated with the settings group.

C#
[System.ComponentModel.Browsable(false)]
public override System.Configuration.SettingsContext Context { get; }

Property Value

A SettingsContext associated with the settings group.

Attributes

Remarks

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.

Applies to

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

See also