System.Generics.Collections.TList.Items

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

Delphi

property Items[Index: Integer]: T read GetItem write SetItem; default;

C++

__property T Items[int Index] = {read=GetItem, write=SetItem/*, default*/};

プロパティ

種類 可視性 ソース ユニット
property public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TList

説明

インデックスが示す位置の項目。

Items は、指定されたインデックスが示すリスト内の位置の要素を取得または設定します。

構文 myList[i] を使用してリスト内の i 番目の項目にアクセスするインデックスを使用することによって、Items を使ってリストの値を取得および設定できます。

関連項目