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.

備註

這個方法會從 unmanaged 程式碼,是用於存取 managed 類別,並不會呼叫從 managed 程式碼。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.

適用於