Export (0) Print
Expand All

MemberInfo Members

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.

  Name Description
Protected method Supported by the .NET Compact Framework MemberInfo Initializes a new instance of the MemberInfo class.
Top

  Name Description
Public property Supported by the .NET Compact Framework DeclaringType Gets the class that declares this member.
Public property Supported by the .NET Compact Framework MemberType When overridden in a derived class, gets a MemberTypes value indicating the type of the member — method, constructor, event, and so on.
Public property MetadataToken Gets a value that identifies a metadata element.
Public property Module Gets the module in which the type that declares the member represented by the current MemberInfo is defined.
Public property Supported by the .NET Compact Framework Name Gets the name of the current member.
Public property Supported by the .NET Compact Framework ReflectedType Gets the class object that was used to obtain this instance of MemberInfo.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetCustomAttributes Overloaded. When overridden in a derived class, returns all attributes applied to this member.
Public method Supported by the .NET Compact Framework 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.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework IsDefined When overridden in a derived class, indicates whether one or more instance of attributeType is applied to this member.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method System.Runtime.InteropServices._MemberInfo.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Explicit interface implementation Method System.Runtime.InteropServices._MemberInfo.GetType Gets a Type object representing the MemberInfo class.
Explicit interface implementation Method 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.
Explicit interface implementation Method System.Runtime.InteropServices._MemberInfo.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Explicit interface implementation Method System.Runtime.InteropServices._MemberInfo.Invoke Provides access to properties and methods exposed by an object.
Top

Community Additions

ADD
Show:
© 2015 Microsoft