System.Win.ComObj.TAutoObject.GetTypeInfoCount
Delphi
function GetTypeInfoCount(out Count: Integer): HResult; virtual; stdcall;
C++
virtual HRESULT __stdcall GetTypeInfoCount(/* out */ int &Count);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | System.Win.ComObj.pas System.Win.ComObj.hpp |
System.Win.ComObj | TAutoObject |
Description
Récupère le nombre d'interfaces d'information type qu'un objet fournit (0 ou 1).
GetTypeInfoCount implémente la méthode GetTypeInfoCount pour l'interface IDispatch. GetTypeInfoCount appelle cette méthode pour l'interface représentée par TAutoObject. Le paramètre out pointe sur un emplacement qui reçoit le nombre d'interfaces d'information type fourni par l'objet. Si l'objet fournit l'information type, ce nombre est égal à 1 ; sinon il est égal à 0.