DesignIntf.IDesignObject.GetComponentIndex

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

Delphi

function GetComponentIndex: Integer;

C++

virtual int __fastcall GetComponentIndex() = 0 ;

プロパティ

種類 可視性 ソース ユニット
function public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IDesignObject


説明

設計オブジェクトがコンポーネントの場合に、その設計オブジェクトのインデックスを返します。

GetComponentIndex を使用すると、設計オブジェクトがコンポーネントの場合に、所有されているコレクションからその位置を取得することができます。

GetComponentIndex は、ComponentIndex プロパティの取得メソッドです。

関連項目