System.Classes.IInterfaceList.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 IInterfaceList

説明

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

Items プロパティを使用すると,リスト内のインターフェースに直接アクセスできます。Index は,リスト内の位置で各インターフェースを識別します。ただし,0 は最初の項目,1 は 2 番めの項目というように順次対応していきます。

メモ:  Delphi では,ItemsIInterfaceList のデフォルトプロパティです。これは,プロパティの名前をコード内で省略することが可能であり,インデックスが直接インターフェースに適用したことを意味しています。

関連項目