MethodBase._MethodBase.GetTypeInfo(UInt32, UInt32, IntPtr) 方法

定義

擷取物件的類型資訊,可以用來取得介面的類型資訊。

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

參數

iTInfo
UInt32

要回傳的類型資訊。

lcid
UInt32

類型資訊的地點識別碼。

ppTInfo
IntPtr

nativeint

接收到指向所請求類型資訊物件的指標。

實作

例外狀況

不支援使用 COM IDispatch 介面進行延遲存取。

備註

此方法用於從非受管理程式碼存取受管理類別,不應從受管理程式碼呼叫。 欲了解更多資訊,請參閱 IDispatch::GetTypeInfo

適用於