다음을 통해 공유


AttributeUsageAttribute Members

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

Public Constructors

Name Description
Public Method AttributeUsageAttribute Initializes a new instance of the AttributeUsageAttribute class with a specified list of AttributeTargets values.

Public Properties

Name Description
Public Property AllowMultiple Gets or sets a Boolean value that indicates whether you can specify more than one instance of the specified attribute for a single program element.
Public Property Inherited Gets or sets a Boolean value that indicates whether the specified attribute can be inherited by derived classes and overriding members.
Public Property ValidOn Gets a set of values that indicate which program elements you can apply the specified attribute to.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

See Also

Reference

AttributeUsageAttribute Class
System Namespace