System.Classes.TInterfaceList.Items
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 では、Items は TInterfaceList のデフォルトのプロパティです。つまり、プロパティ名を省略できます。そのため、次のように記述する代わりに、
メモ: InterfaceList1.Items[i]
次のように記述できます。
メモ: InterfaceList1[i]