System.Classes.TCollectionItem

From Appmethod Libraries
Jump to: navigation, search

System.Classes.TPersistentSystem.TObjectTCollectionItem

Object Pascal

TCollectionItem = class(TPersistent)

C++

class PASCALIMPLEMENTATION TCollectionItem : public TPersistent

Properties

Type Visibility Source Unit Parent
class public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TCollectionItem represents an item in a collection.

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.

See Also