Activator._Activator.GetTypeInfoCount Method (UInt32)


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

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

void _Activator.GetTypeInfoCount(
	out uint pcTInfo


Type: System.UInt32

When this method returns, contains a pointer to a location that receives the number of type information interfaces provided by the object. This parameter is passed uninitialized.

Exception Condition

Late-bound access using the COM IDispatch interface is not supported.

This method is used to access 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
Available since 1.1
Return to top