System.Classes.TCollection.SetItem
Delphi
procedure SetItem(Index: Integer; Value: TCollectionItem);
C++
void __fastcall SetItem(int Index, TCollectionItem* Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Classes.pas System.Classes.hpp |
System.Classes | TCollection |
Description
Copies the properties of another item to a specified item in the collection.
SetItem is the protected write implementation of the Items property. It calls the Assign method of the item specified by Index, so that the properties of the item specified by Value
are copied to that item.