System.Classes.TInterfaceList.Items

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

Delphi

property Items[Index: Integer]: IInterface read Get write Put; default;

C++

__property System::_di_IInterface Items[int Index] = {read=Get, write=Put/*, default*/};

プロパティ

種類 可視性 ソース ユニット
property public
System.Classes.pas
System.Classes.hpp
System.Classes TInterfaceList

説明

リスト内のインターフェイスに対する直接アクセスを提供します。

Items を使用すると、リスト内のインターフェイスに直接アクセスできます。インデックスを使用して、リスト内の位置で各インターフェイスを識別します。

メモ:  Delphi では、ItemsTInterfaceList のデフォルトのプロパティです。つまり、プロパティ名を省略できます。そのため、次のように記述する代わりに、

メモ:  InterfaceList1.Items[i]

次のように記述できます。

メモ:  InterfaceList1[i]

関連項目