RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleControl.GetTypeInfoCount Method

Returns the number of type information interfaces that an object provides (either 0 or 1).

Pascal
function GetTypeInfoCount(out Count: Integer): HResult; stdcall;
C++
__fastcall __stdcall HRESULT GetTypeInfoCount(int Count);

GetTypeInfoCount implements the IDispatch interface GetTypeInfoCount method. For components that support interfaces, GetTypeInfoCount calls this method for the interface supported by the component. The Count 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!