Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) 方法

定义

检索对象的类型信息,然后可以使用该信息获取接口的类型信息。

 virtual void System.Runtime.InteropServices._Attribute.GetTypeInfo(System::UInt32 iTInfo, System::UInt32 lcid, IntPtr ppTInfo) = System::Runtime::InteropServices::_Attribute::GetTypeInfo;
void _Attribute.GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
abstract member System.Runtime.InteropServices._Attribute.GetTypeInfo : uint32 * uint32 * nativeint -> unit
override this.System.Runtime.InteropServices._Attribute.GetTypeInfo : uint32 * uint32 * nativeint -> unit
Sub GetTypeInfo (iTInfo As UInteger, lcid As UInteger, ppTInfo As IntPtr) Implements _Attribute.GetTypeInfo

参数

iTInfo
UInt32

要返回的类型信息。

lcid
UInt32

类型信息的区域设置标识符。

ppTInfo
IntPtr

nativeint

接收一个指针,指向请求的类型信息对象。

实现

例外

不支持使用 COM IDispatch 接口进行后期绑定访问。

注解

此方法用于从非托管代码访问托管类,不应从托管代码调用。 有关详细信息,请参阅 IDispatch::GetTypeInfo

适用于