System.Configuration.SpecialSettingAttribute Class

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

See Also: SpecialSettingAttribute Members

Syntax

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

Remarks

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.

Requirements

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