API:Vcl.OleCtrls.TOleControl.GetTypeInfo

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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

C++

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

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls TOleControl

説明

オブジェクトの型情報を取り出します。

Vcl.OleCtrls.TOleControl.GetTypeInfo は System.Classes.TComponent.GetTypeInfo を継承しています。以下の内容はすべて System.Classes.TComponent.GetTypeInfo を参照しています。

オブジェクトの型情報を取り出します。

GetTypeInfo は,IDispatch インターフェースの GetTypeInfo メソッドを実装します。インターフェースをサポートするコンポーネントの場合,GetTypeInfo は,コンポーネントがサポートするインターフェースに対して GetTypeInfo メソッドを呼び出し,指定されたパラメータを渡します。戻り値を使用して,コンポーネントが実装したインターフェースの型情報を取得します。

関連項目