Activator::_Activator::GetTypeInfoCount Method (UInt32%)
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Assembly: mscorlib (in mscorlib.dll)
private: virtual void GetTypeInfoCount( [OutAttribute] unsigned int% pcTInfo ) sealed = _Activator::GetTypeInfoCount
Parameters
- 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.
Implements
_Activator::GetTypeInfoCount(UInt32%)| Exception | Condition |
|---|---|
| NotImplementedException | 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.
Available since 1.1