System.Runtime.InteropServices._Type.GetTypeInfo Method
Collapse the table of content
Expand the table of content

Type.System.Runtime.InteropServices._Type.GetTypeInfo Method

Note: This method is new in the .NET Framework version 2.0.

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

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

void _Type.GetTypeInfo (
	uint iTInfo,
	uint lcid,
	IntPtr ppTInfo
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.



The type information to return.


The locale identifier for the type information.


Receives a pointer to the requested type information object.

Exception typeCondition


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.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

© 2015 Microsoft