Obtains information about the attributes of a member and provides access to member metadata.
The following tables list the members exposed by the MemberInfo type.
|DeclaringType||Gets the class that declares this member.|
|MemberType||When overridden in a derived class, gets a MemberTypes value indicating the type of the member — method, constructor, event, and so on.|
|MetadataToken||Gets a value that identifies a metadata element.|
|Module||Gets the module in which the type that declares the member represented by the current MemberInfo is defined.|
|Name||Gets the name of the current member.|
|ReflectedType||Gets the class object that was used to obtain this instance of MemberInfo.|
(see also Protected Methods )
|Equals||Overloaded. Determines whether two Object instances are equal. (inherited from Object)|
|GetCustomAttributes||Overloaded. When overridden in a derived class, returns all attributes applied to this member.|
|GetHashCode||Serves as a hash function for a particular type. (inherited from Object)|
|GetType||Gets the Type of the current instance. (inherited from Object)|
|IsDefined||When overridden in a derived class, indicates whether one or more instance of attributeType is applied to this member.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (inherited from Object)|
|ToString||Returns a String that represents the current Object. (inherited from Object)|