9 [__DynamicallyInvokable]
14 internal bool m_allowMultiple;
16 internal bool m_inherited =
true;
22 [__DynamicallyInvokable]
25 [__DynamicallyInvokable]
28 return m_attributeTarget;
35 [__DynamicallyInvokable]
38 [__DynamicallyInvokable]
41 return m_allowMultiple;
43 [__DynamicallyInvokable]
46 m_allowMultiple = value;
53 [__DynamicallyInvokable]
56 [__DynamicallyInvokable]
61 [__DynamicallyInvokable]
70 [__DynamicallyInvokable]
73 m_attributeTarget = validOn;
78 m_attributeTarget = validOn;
79 m_allowMultiple = allowMultiple;
80 m_inherited = inherited;
Represents the base class for custom attributes.
bool AllowMultiple
Gets or sets a Boolean value indicating whether more than one instance of the indicated attribute can...
AttributeTargets ValidOn
Gets a set of values identifying which program elements that the indicated attribute can be applied t...
bool Inherited
Gets or sets a T:System.Boolean value that determines whether the indicated attribute is inherited by...
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
AttributeUsageAttribute(AttributeTargets validOn)
Initializes a new instance of the T:System.AttributeUsageAttribute class with the specified list of T...
Specifies that the class can be serialized.
Specifies the usage of another attribute class. This class cannot be inherited.