संपादित करें

SettingAttribute Class

Definition

Represents a custom settings attribute used to associate settings information with a settings property.

public ref class SettingAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property)]
public class SettingAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type SettingAttribute = class
    inherit Attribute
Public Class SettingAttribute
Inherits Attribute
Inheritance
SettingAttribute
Derived
Attributes

Remarks

The SettingAttribute class associates settings information with a settings property. The ApplicationSettingsBase class will ignore all properties not marked with this or a derived attribute.

Constructors

Name Description
SettingAttribute()

Initializes a new instance of the SettingAttribute class.

Applies to

See also