DesignIntf.IDesignObject.GetComponentIndex
Delphi
function GetComponentIndex: Integer;
C++
virtual int __fastcall GetComponentIndex() = 0 ;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IDesignObject |
説明
設計オブジェクトがコンポーネントの場合に、その設計オブジェクトのインデックスを返します。
GetComponentIndex を使用すると、設計オブジェクトがコンポーネントの場合に、所有されているコレクションからその位置を取得することができます。
GetComponentIndex は、ComponentIndex プロパティの取得メソッドです。