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 介面進行晚期繫結的存取。

備註

此方法適用于從 Unmanaged 程式碼存取 Managed 類別,不應從 Managed 程式碼呼叫。 如需詳細資訊,請參閱 IDispatch::GetTypeInfo

適用於