Upraviť

Zdieľať cez


MethodBase._MethodBase.GetTypeInfo(UInt32, UInt32, IntPtr) Method

Definition

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._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

Parameters

iTInfo
UInt32

The type information to return.

lcid
UInt32

The locale identifier for the type information.

ppTInfo
IntPtr

nativeint

Receives a pointer to the requested type information object.

Implements

Exceptions

Late-bound access using the COM IDispatch interface is not supported.

Remarks

This method is for access to managed classes from unmanaged code, and should not be called from managed code. For more information, see IDispatch::GetTypeInfo.

Applies to