MemberInfo._MemberInfo.GetTypeInfo(UInt32, UInt32, IntPtr) MemberInfo._MemberInfo.GetTypeInfo(UInt32, UInt32, IntPtr) MemberInfo._MemberInfo.GetTypeInfo(UInt32, UInt32, IntPtr) Method

定义

检索对象的类型信息,然后可以使用该信息获取接口的类型信息。Retrieves the type information for an object, which can then be used to get the type information for an interface.

 virtual void System.Runtime.InteropServices._MemberInfo.GetTypeInfo(System::UInt32 iTInfo, System::UInt32 lcid, IntPtr ppTInfo) = System::Runtime::InteropServices::_MemberInfo::GetTypeInfo;
void _MemberInfo.GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
Sub GetTypeInfo (iTInfo As UInteger, lcid As UInteger, ppTInfo As IntPtr) Implements _MemberInfo.GetTypeInfo

参数

iTInfo
UInt32 UInt32 UInt32

要返回的类型信息。The type information to return.

lcid
UInt32 UInt32 UInt32

类型信息的区域设置标识符。The locale identifier for the type information.

ppTInfo
IntPtr IntPtr IntPtr

接收一个指针,指向请求的类型信息对象。Receives a pointer to the requested type information object.

实现

异常

此方法称为使用 COM IDispatch 接口的后期绑定。The method is called late-bound using the COM IDispatch interface.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code. 有关详细信息IDispatch::GetTypeInfo,请参阅 MSDN 库。For more information about IDispatch::GetTypeInfo, see the MSDN Library.

适用于