System.Reflection.CustomAttributeData Members

The members of System.Reflection.CustomAttributeData are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a new instance of the System.Reflection.CustomAttributeData class.

Public Properties

[read-only]
AttributeTypeType.

Gets the type of the attribute.

[read-only]
ConstructorConstructorInfo.

Gets a System.Reflection.ConstructorInfo object that represents the constructor that would have initialized the custom attribute.

[read-only]
ConstructorArgumentsIList<CustomAttributeTypedArgument>.

Gets the list of positional arguments specified for the attribute instance represented by the System.Reflection.CustomAttributeData object.

[read-only]
NamedArgumentsIList<CustomAttributeNamedArgument>.

Gets the list of named arguments specified for the attribute instance represented by the System.Reflection.CustomAttributeData object.

Public Methods

override
Equals(object) : bool

Returns a value that indicates whether this instance is equal to a specified object.

static
GetCustomAttributes(Assembly) : IList<CustomAttributeData>

Returns a list of System.Reflection.CustomAttributeData objects representing data about the attributes that have been applied to the target assembly.

static
GetCustomAttributes(MemberInfo) : IList<CustomAttributeData>

Returns a list of System.Reflection.CustomAttributeData objects representing data about the attributes that have been applied to the target member.

static
GetCustomAttributes(Module) : IList<CustomAttributeData>

Returns a list of System.Reflection.CustomAttributeData objects representing data about the attributes that have been applied to the target module.

static
GetCustomAttributes(ParameterInfo) : IList<CustomAttributeData>

Returns a list of System.Reflection.CustomAttributeData objects representing data about the attributes that have been applied to the target parameter.

override
GetHashCode() : int
Documentation for this section has not yet been entered.
override
ToString() : string

Returns a string representation of the custom attribute.