Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

_MemberInfo Interface

Exposes the public members of the System.Reflection.MemberInfo class to unmanaged code.

This API is not CLS-compliant. 

Namespace:  System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

[GuidAttribute("f7102fa9-cabb-3a74-a6da-b4567ef1b079")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public interface _MemberInfo

The _MemberInfo type exposes the following members.

  NameDescription
Public propertyDeclaringTypeProvides COM objects with version-independent access to the MemberInfo.DeclaringType property.
Public propertyMemberTypeProvides COM objects with version-independent access to the MemberInfo.MemberType property.
Public propertyNameProvides COM objects with version-independent access to the MemberInfo.Name property.
Public propertyReflectedTypeProvides COM objects with version-independent access to the MemberInfo.ReflectedType property.
Top

  NameDescription
Public methodEqualsProvides COM objects with version-independent access to the Object.Equals method.
Public methodGetCustomAttributes(Boolean)Provides COM objects with version-independent access to the MemberInfo.GetCustomAttributes method.
Public methodGetCustomAttributes(Type, Boolean)Provides COM objects with version-independent access to the Assembly.GetCustomAttributes method.
Public methodGetHashCodeProvides COM objects with version-independent access to the Object.GetHashCode method.
Public methodGetIDsOfNamesMaps a set of names to a corresponding set of dispatch identifiers.
Public methodGetTypeProvides COM objects with version-independent access to the Type.GetType method.
Public methodGetTypeInfoRetrieves the type information for an object, which can be used to get the type information for an interface.
Public methodGetTypeInfoCountRetrieves the number of type information interfaces that an object provides (either 0 or 1).
Public methodInvokeProvides access to properties and methods exposed by an object.
Public methodIsDefinedProvides COM objects with version-independent access to the MemberInfo.IsDefined method.
Public methodToStringProvides COM objects with version-independent access to the Object.ToString method.
Top

This interface is for access to managed classes from unmanaged code and should not be called from managed code.

This interface preserves the vtable order of the System.Reflection.MemberInfo class members that can be accessed by unmanaged COM objects.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft