RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCollection.SetItem Method

Copies the properties of another item to a specified item in the collection.

Pascal
procedure SetItem(Index: Integer; Value: TCollectionItem);
C++
__fastcall SetItem(int Index, TCollectionItem Value);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!