Export (0) Print
Expand All

AttributeUsageAttribute Members

Specifies the usage of another attribute class. This class cannot be inherited.

The following tables list the members exposed by the AttributeUsageAttribute type.

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework AttributeUsageAttribute Initializes a new instance of the AttributeUsageAttribute class with the specified list of AttributeTargets, the AllowMultiple value, and the Inherited value.
Top

  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework AllowMultiple Gets or sets a Boolean value indicating whether more than one instance of the indicated attribute can be specified for a single program element.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Inherited Gets or sets a Boolean value indicating whether the indicated attribute can be inherited by derived classes and overriding members.
Public property TypeId  When implemented in a derived class, gets a unique identifier for this Attribute.(inherited from Attribute)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ValidOn Gets a set of values identifying which program elements that the indicated attribute can be applied to.
Top

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Returns a value indicating whether two instances of Attribute represent the same value. (inherited from Attribute)
Public method Static Supported by the .NET Compact Framework GetCustomAttribute  Overloaded. Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter. (inherited from Attribute)
Public method Static Supported by the .NET Compact Framework GetCustomAttributes  Overloaded. Retrieves an array of the custom attributes applied to an assembly, module, type member, or method parameter. (inherited from Attribute)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Returns the hash code for this instance. (inherited from Attribute)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method IsDefaultAttribute  When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (inherited from Attribute)
Public method Static Supported by the .NET Compact Framework IsDefined  Overloaded. Determines whether any custom attributes of a specified type are applied to an assembly, module, type member, or method parameter. (inherited from Attribute)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Match  When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (inherited from Attribute)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2015 Microsoft