_MemberInfo Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Exposes the public members of the MemberInfo class to unmanaged code.
public interface class _MemberInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("F7102FA9-CABB-3A74-A6DA-B4567EF1B079")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _MemberInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("f7102fa9-cabb-3a74-a6da-b4567ef1b079")]
public interface _MemberInfo
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("F7102FA9-CABB-3A74-A6DA-B4567EF1B079")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _MemberInfo = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("f7102fa9-cabb-3a74-a6da-b4567ef1b079")>]
type _MemberInfo = interface
Public Interface _MemberInfo
- Derived
- Attributes
Remarks
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.
Properties
DeclaringType |
Provides COM objects with version-independent access to the DeclaringType property. |
MemberType |
Provides COM objects with version-independent access to the MemberType property. |
Name |
Provides COM objects with version-independent access to the Name property. |
ReflectedType |
Provides COM objects with version-independent access to the ReflectedType property. |
Methods
Equals(Object) |
Provides COM objects with version-independent access to the Equals(Object) method. |
GetCustomAttributes(Boolean) |
Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method. |
GetCustomAttributes(Type, Boolean) |
Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method. |
GetHashCode() |
Provides COM objects with version-independent access to the GetHashCode() method. |
GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) |
Maps a set of names to a corresponding set of dispatch identifiers. |
GetType() |
Provides COM objects with version-independent access to the GetType() method. |
GetTypeInfo(UInt32, UInt32, IntPtr) |
Retrieves the type information for an object, which can be used to get the type information for an interface. |
GetTypeInfoCount(UInt32) |
Retrieves the number of type information interfaces that an object provides (either 0 or 1). |
Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) |
Provides access to properties and methods exposed by an object. |
IsDefined(Type, Boolean) |
Provides COM objects with version-independent access to the IsDefined(Type, Boolean) method. |
ToString() |
Provides COM objects with version-independent access to the ToString() method. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기