class AttributeUsageAttribute
Specifies the usage of another attribute class. This class cannot be inherited.
public AttributeUsageAttribute( AttributeTargets validOn )
Initializes a new instance of the class with the specified list of , the value, and the value.
validOnThe set of values combined using a bitwise OR operation to indicate which program elements are valid.
public bool AllowMultiple { get; set; }
Gets or sets a Boolean value indicating whether more than one instance of the indicated attribute can be specified for a single program element.
- Returns if more than one instance is allowed to be specified; otherwise, . The default is .
public bool Inherited { get; set; }
Gets or sets a value that determines whether the indicated attribute is inherited by derived classes and overriding members.
- Returns if the attribute can be inherited by derived classes and overriding members; otherwise, . The default is .
public AttributeTargets ValidOn { get; }
Gets a set of values identifying which program elements that the indicated attribute can be applied to.
- Returns One or several values. The default is .
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public object TypeId { get; }
😔 No documentation found.
public bool Match( object obj )
😔 No documentation found.
public bool IsDefaultAttribute( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.