Activator._Activator.GetTypeInfoCount(UInt32) Méthode

Définition

Récupère le nombre d'interfaces d'informations de type fourni par un objet (0 ou 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

Paramètres

pcTInfo
UInt32

Cette méthode retourne un pointeur vers un emplacement qui reçoit le nombre d'interfaces d'informations de type fourni par l'objet. Ce paramètre est passé sans être initialisé.

Implémente

Exceptions

L’accès à liaison tardive à l’aide de l’interface IDispatch COM n’est pas pris en charge.

Remarques

Cette méthode est utilisée pour accéder aux classes managées à partir de code non managé et ne doit pas être appelée à partir du code managé. Pour plus d’informations, consultez IDispatch::GetTypeInfoCount.

S’applique à