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.GetTypeInfoCount Method

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

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

private abstract GetTypeInfoCount : 
        pcTInfo:uint32 byref -> unit  
private override GetTypeInfoCount : 
        pcTInfo:uint32 byref -> unit

Parameters

pcTInfo
Type: System.UInt32

Points to a location that receives the number of type information interfaces provided by the object.

Implements

_MethodInfo.GetTypeInfoCount(UInt32)

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::GetTypeInfoCount, 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