System.Configuration.SpecialSettingAttribute Class

Indicates that an application settings property has a special significance. This class cannot be inherited.

See Also: SpecialSettingAttribute Members


[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property | System.AttributeTargets.All)]
public sealed class SpecialSettingAttribute : Attribute


Certain application settings properties have a special significance that alters the way in which their associated settings provider should process them. The System.Configuration.SpecialSettingAttribute is used to identify such properties. This class uses the System.Configuration.SpecialSetting enumeration to indicate what special category the property belongs to.

System.Configuration.SpecialSettingAttribute can only be applied to the settings class or to the individual settings property.

For an example of how a settings provider deals with the System.Configuration.SpecialSettingAttribute, see the LocalFileSettingsProvider.GetPropertyValues(SettingsContext, SettingsPropertyCollection) method of the System.Configuration.LocalFileSettingsProvider class.


Namespace: System.Configuration
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0