This documentation is archived and is not being maintained.
.NET Framework 2.0
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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.)|
|System.Runtime.InteropServices._MemberInfo.GetIDsOfNames||Maps a set of names to a corresponding set of dispatch identifiers.|
|System.Runtime.InteropServices._MemberInfo.GetType||Gets a Type object representing the MemberInfo class.|
|System.Runtime.InteropServices._MemberInfo.GetTypeInfo||Retrieves the type information for an object, which can then be used to get the type information for an interface.|
|System.Runtime.InteropServices._MemberInfo.GetTypeInfoCount||Retrieves the number of type information interfaces that an object provides (either 0 or 1).|
|System.Runtime.InteropServices._MemberInfo.Invoke||Provides access to properties and methods exposed by an object.|