System.Classes.TComponent.GetTypeInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetTypeInfo(Index, LocaleID: Integer; out TypeInfo): HResult; stdcall;

C++

HRESULT __stdcall GetTypeInfo(int Index, int LocaleID, /* out */ void *TypeInfo);

Properties

Type Visibility Source Unit Parent
function protected
System.Classes.pas
System.Classes.hpp
System.Classes TComponent

Description

Retrieves the type information for an object.

GetTypeInfo implements the IDispatch interface GetTypeInfo method. For components that support interfaces, GetTypeInfo calls the GetTypeInfo method for the interface supported by the component, passing it the specified parameters. Use the returned value to get the type information for an interface implemented by the component.

See Also