RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCollectionItem Class

TCollectionItem represents an item in a collection.

Pascal
TCollectionItem = class(TPersistent);
C++
class TCollectionItem : public TPersistent;

A TCollection holds a group of TCollectionItem objects. TCollectionItems are created and destroyed by TCollection's Add and Clear methods. Each TCollectionItem has a Collection property that points to the TCollection object to which the item belongs. 

Objects descending from TCollection can contain objects descending from TCollectionItem. For example, a TDBGridColumns object contains TColumn objects; these two classes are used by TDBGrid to represent grid columns. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!