SpecialSettingAttribute
Class
Definition
Indicates that an application settings property has a special significance. This class cannot be inherited.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property)]
public sealed class SpecialSettingAttribute : Attribute
- Inheritance
- Attributes
Inherited Members
System.Attribute
System.Object
Remarks
Certain application settings properties have a special significance that alters the way in which their associated settings provider should process them. The SpecialSettingAttribute is used to identify such properties. This class uses the SpecialSetting enumeration to indicate what special category the property belongs to.
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 SpecialSettingAttribute, see the GetPropertyValues method of the LocalFileSettingsProvider class.
Constructors
| SpecialSettingAttribute(SpecialSetting) |
Initializes a new instance of the SpecialSettingAttribute class. |
Properties
| SpecialSetting |
Gets the value describing the special setting category of the application settings property. |