Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MethodInfo._MethodInfo.GetTypeInfo Method

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

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

private abstract GetTypeInfo : 
        iTInfo:uint32 * 
        lcid:uint32 * 
        ppTInfo:IntPtr -> unit  
private override GetTypeInfo : 
        iTInfo:uint32 * 
        lcid:uint32 * 
        ppTInfo:IntPtr -> unit

Parameters

iTInfo
Type: System.UInt32

The type information to return.

lcid
Type: System.UInt32

The locale identifier for the type information.

ppTInfo
Type: System.IntPtr

Receives a pointer to the requested type information object.

Implements

_MethodInfo.GetTypeInfo(UInt32, UInt32, IntPtr)

ExceptionCondition
NotImplementedException

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

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft