.NET Framework Class Library
Attribute_AttributeGetTypeInfo Method

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)
Syntax
Private Sub GetTypeInfo ( _
	iTInfo As [%$TOPIC/bb339743_en-us_VS_110_1_0_0_0_0%], _
	lcid As [%$TOPIC/bb339743_en-us_VS_110_1_0_0_0_1%], _
	ppTInfo As [%$TOPIC/bb339743_en-us_VS_110_1_0_0_0_2%] _
) Implements [%$TOPIC/bb339743_en-us_VS_110_1_0_0_0_3%].[%$TOPIC/bb339743_en-us_VS_110_1_0_0_0_4%]
void [%$TOPIC/bb339743_en-us_VS_110_1_0_1_0_0%].[%$TOPIC/bb339743_en-us_VS_110_1_0_1_0_1%](
	[%$TOPIC/bb339743_en-us_VS_110_1_0_1_0_2%] iTInfo,
	[%$TOPIC/bb339743_en-us_VS_110_1_0_1_0_3%] lcid,
	[%$TOPIC/bb339743_en-us_VS_110_1_0_1_0_4%] ppTInfo
)
private:
virtual void GetTypeInfo(
	[%$TOPIC/bb339743_en-us_VS_110_1_0_2_0_0%] iTInfo, 
	[%$TOPIC/bb339743_en-us_VS_110_1_0_2_0_1%] lcid, 
	[%$TOPIC/bb339743_en-us_VS_110_1_0_2_0_2%] ppTInfo
) sealed = [%$TOPIC/bb339743_en-us_VS_110_1_0_2_0_3%]::[%$TOPIC/bb339743_en-us_VS_110_1_0_2_0_4%]
private abstract GetTypeInfo : 
        iTInfo:[%$TOPIC/bb339743_en-us_VS_110_1_0_3_0_0%] * 
        lcid:[%$TOPIC/bb339743_en-us_VS_110_1_0_3_0_1%] * 
        ppTInfo:[%$TOPIC/bb339743_en-us_VS_110_1_0_3_0_2%] -> unit  
private override GetTypeInfo : 
        iTInfo:[%$TOPIC/bb339743_en-us_VS_110_1_0_3_0_3%] * 
        lcid:[%$TOPIC/bb339743_en-us_VS_110_1_0_3_0_4%] * 
        ppTInfo:[%$TOPIC/bb339743_en-us_VS_110_1_0_3_0_5%] -> unit
JScript does not support explicit interface implementations.

Parameters

iTInfo
Type: SystemUInt32

The type information to return.

lcid
Type: SystemUInt32

The locale identifier for the type information.

ppTInfo
Type: SystemIntPtr

Receives a pointer to the requested type information object.

Implements

_AttributeGetTypeInfo(UInt32, UInt32, IntPtr)
Exceptions
ExceptionCondition
NotImplementedException

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 about IDispatch::GetTypeInfo, see the MSDN Library.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1