Activator._Activator.GetTypeInfoCount(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
virtual void System.Runtime.InteropServices._Activator.GetTypeInfoCount([Runtime::InteropServices::Out] System::UInt32 % pcTInfo) = System::Runtime::InteropServices::_Activator::GetTypeInfoCount;
void _Activator.GetTypeInfoCount (out uint pcTInfo);
abstract member System.Runtime.InteropServices._Activator.GetTypeInfoCount : uint32 -> unit
override this.System.Runtime.InteropServices._Activator.GetTypeInfoCount : uint32 -> unit
Sub GetTypeInfoCount (ByRef pcTInfo As UInteger) Implements _Activator.GetTypeInfoCount
Parameters
- pcTInfo
- 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
Exceptions
Late-bound access using the COM IDispatch
interface is not supported.
Remarks
This method is used to access managed classes from unmanaged code, and should not be called from managed code. For more information, see IDispatch::GetTypeInfoCount.