_MemberInfo.GetTypeInfo(UInt32, UInt32, IntPtr) 方法

定义

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

public:
 void GetTypeInfo(System::UInt32 iTInfo, System::UInt32 lcid, IntPtr ppTInfo);
public void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
abstract member GetTypeInfo : uint32 * uint32 * nativeint -> unit
Public Sub GetTypeInfo (iTInfo As UInteger, lcid As UInteger, ppTInfo As IntPtr)

参数

iTInfo
UInt32

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

lcid
UInt32

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

ppTInfo
IntPtr

指向请求的类型信息对象的指针。A pointer to the requested type information object.

注解

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

适用于