Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Attribute._Attribute.GetTypeInfo Method (UInt32, UInt32, IntPtr)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

void _Attribute.GetTypeInfo(
	uint iTInfo,
	uint lcid,
	IntPtr ppTInfo


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
© 2018 Microsoft