RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCollectionItem Class

TCollectionItem represents an item in a collection.

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

Classes

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 descended from TCollection can contain objects descended from TCollectionItem. For example, a TDBGridColumns object contains TColumn objects; these two classes are used by TDBGrid to represent grid columns. 

 

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