System.Reflection.MemberInfo: Method Members

The methods of System.Reflection.MemberInfo are listed below. For a list of all members, see the MemberInfo Members list.

See Also: Inherited members from System.Object

Public Methods

override
Equals(object) : bool

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

abstract
GetCustomAttributes(bool) : object[]

When overridden in a derived class, returns an array of all custom attributes applied to this member.

abstract
GetCustomAttributes(Type, bool) : object[]

When overridden in a derived class, returns an array of custom attributes applied to this member and identified by Type.

GetCustomAttributesData() : IList<CustomAttributeData>

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

override
GetHashCode() : int

Returns the hash code for this instance.

GetType() : Type

Gets a Type object representing the type of the current instance.

abstract
IsDefined(Type, bool) : bool

When overridden in a derived class, indicates whether one or more attributes of the specified type or of its derived types is applied to this member.