System.Win.ComObj.TAutoObject.GetTypeInfoCount
Delphi
function GetTypeInfoCount(out Count: Integer): HResult; virtual; stdcall;
C++
virtual HRESULT __stdcall GetTypeInfoCount(/* out */ int &Count);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Win.ComObj.pas System.Win.ComObj.hpp |
System.Win.ComObj | TAutoObject |
Description
Returns the number of type information interfaces that an object provides (either 0 or 1).
GetTypeInfoCount implements the IDispatch interface GetTypeInfoCount method. GetTypeInfoCount calls this method for the interface represented by the TAutoObject. The out parameter points to a location that receives the number of type information interfaces provided by the object. If the object provides type information, this number is 1; otherwise the number is 0.