Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
_TypeBuilder.GetTypeInfo Method

TypeBuilder::_TypeBuilder::GetTypeInfo Method

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:
virtual void GetTypeInfo(
	unsigned int iTInfo, 
	unsigned int lcid, 
	IntPtr ppTInfo
) sealed = _TypeBuilder::GetTypeInfo

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

_TypeBuilder::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