_MethodBuilder.GetTypeInfo Method

MethodBuilder._MethodBuilder.GetTypeInfo Method (UInt32, UInt32, IntPtr)


Retrieves the type information for an object, which can then be used to get the type information for an interface.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

Private Sub GetTypeInfo (
	iTInfo As UInteger,
	lcid As UInteger,
	ppTInfo As IntPtr
	Implements _MethodBuilder.GetTypeInfo


Type: System.UInt32

The type information to return.

Type: System.UInt32

The locale identifier for the type information.

Type: System.IntPtr

Receives a pointer to the requested type information object.

Exception Condition

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

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

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft