TCollection

Overview

Location

 

constructor    (declared in TPersistent) .NET, Cooper, Island

 

constructor

 

TCollection()

 

init()

 

TCollection()

constructor (TCollectionItemClass)

 

constructor(aItemClass: TCollectionItemClass)

 

TCollection(TCollectionItemClass aItemClass)

 

init(_ aItemClass: TCollectionItemClass)

 

TCollection(TCollectionItemClass aItemClass)

Parameters:

  • aItemClass:

Add  virtual

 

method Add: TCollectionItem

 

TCollectionItem Add()

 

func Add() -> TCollectionItem

 

TCollectionItem Add()

Assign  virtual    (declared in TPersistent)

 

method Assign(Source: TPersistent)

 

void Assign(TPersistent Source)

 

func Assign(_ Source: TPersistent)

 

void Assign(TPersistent Source)

Parameters:

  • Source:

AssignTo  protected virtual    (declared in TPersistent)

 

method AssignTo(Dest: TPersistent)

 

void AssignTo(TPersistent Dest)

 

func AssignTo(_ Dest: TPersistent)

 

void AssignTo(TPersistent Dest)

Parameters:

  • Dest:

BeginUpdate  virtual

 

method BeginUpdate

 

void BeginUpdate()

 

func BeginUpdate()

 

void BeginUpdate()

Capacity  virtual

 

property Capacity: Int32 read write;

 

Int32 Capacity { get; set; }

 

var Capacity: Int32 { get{} set{} }

 

Integer Capacity { __get; __set; }

Changed  protected virtual

 

method Changed

 

void Changed()

 

func Changed()

 

void Changed()

Clear  virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

Count  virtual

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

DefineProperties  virtual    (declared in TPersistent)

 

method DefineProperties(Filer: TObject)

 

void DefineProperties(TObject Filer)

 

func DefineProperties(_ Filer: TObject)

 

void DefineProperties(TObject Filer)

Parameters:

  • Filer:

Delete  virtual

 

method Delete(aIndex: Int32)

 

void Delete(Int32 aIndex)

 

func Delete(_ aIndex: Int32)

 

void Delete(Integer aIndex)

Parameters:

  • aIndex:

EndUpdate  virtual

 

method EndUpdate

 

void EndUpdate()

 

func EndUpdate()

 

void EndUpdate()

FindItemID  virtual

 

method FindItemID(aID: Int32): TCollectionItem

 

TCollectionItem FindItemID(Int32 aID)

 

func FindItemID(_ aID: Int32) -> TCollectionItem

 

TCollectionItem FindItemID(Integer aID)

Parameters:

  • aID:

GetItem  protected virtual

 

method GetItem(aIndex: Int32): TCollectionItem

 

TCollectionItem GetItem(Int32 aIndex)

 

func GetItem(_ aIndex: Int32) -> TCollectionItem

 

TCollectionItem GetItem(Integer aIndex)

Parameters:

  • aIndex:

GetNamePath  virtual    (declared in TPersistent)

 

method GetNamePath: DelphiString

 

DelphiString GetNamePath()

 

func GetNamePath() -> DelphiString

 

DelphiString GetNamePath()

GetOwner  protected virtual    (declared in TPersistent)

 

method GetOwner: TPersistent

 

TPersistent GetOwner()

 

func GetOwner() -> TPersistent

 

TPersistent GetOwner()

Insert  virtual

 

method Insert(aIndex: Int32): TCollectionItem

 

TCollectionItem Insert(Int32 aIndex)

 

func Insert(_ aIndex: Int32) -> TCollectionItem

 

TCollectionItem Insert(Integer aIndex)

Parameters:

  • aIndex:

ItemClass  virtual

 

property ItemClass: TCollectionItemClass read;

 

TCollectionItemClass ItemClass { get; }

 

var ItemClass: TCollectionItemClass { get{} }

 

TCollectionItemClass ItemClass { __get; }

Items  virtual

 

property Items[aIndex: Int32]: TCollectionItem read write;

 

TCollectionItem Items[Int32 aIndex] { get; set; }

 

subscript Items(_ aIndex: Int32) -> TCollectionItem { get{} set{} }

 

TCollectionItem Items[Integer aIndex] { __get; __set; }

NextID  protected virtual

 

property NextID: Int32 read;

 

Int32 NextID { get; }

 

var NextID: Int32 { get{} }

 

Integer NextID { __get; }

Notify  protected virtual

 

method Notify(aItem: TCollectionItem; Action: TCollectionNotification)

 

void Notify(TCollectionItem aItem, TCollectionNotification Action)

 

func Notify(_ aItem: TCollectionItem, _ Action: TCollectionNotification)

 

void Notify(TCollectionItem aItem, TCollectionNotification Action)

Parameters:

  • aItem:
  • Action:

Owner  virtual

 

method Owner: TPersistent

 

TPersistent Owner()

 

func Owner() -> TPersistent

 

TPersistent Owner()

PropName  protected virtual

 

property PropName: String read write;

 

String PropName { get; set; }

 

var PropName: String { get{} set{} }

 

String PropName { __get; __set; }

SetItem  protected virtual

 

method SetItem(aIndex: Int32; aValue: TCollectionItem)

 

void SetItem(Int32 aIndex, TCollectionItem aValue)

 

func SetItem(_ aIndex: Int32, _ aValue: TCollectionItem)

 

void SetItem(Integer aIndex, TCollectionItem aValue)

Parameters:

  • aIndex:
  • aValue:

SetItemName  protected virtual

 

method SetItemName(aItem: TCollectionItem)

 

void SetItemName(TCollectionItem aItem)

 

func SetItemName(_ aItem: TCollectionItem)

 

void SetItemName(TCollectionItem aItem)

Parameters:

  • aItem:

Update  protected virtual

 

method Update(aItem: TCollectionItem)

 

void Update(TCollectionItem aItem)

 

func Update(_ aItem: TCollectionItem)

 

void Update(TCollectionItem aItem)

Parameters:

  • aItem:

UpdateCount  protected virtual

 

property UpdateCount: Int32 read;

 

Int32 UpdateCount { get; }

 

var UpdateCount: Int32 { get{} }

 

Integer UpdateCount { __get; }

 

Capacity  virtual

 

property Capacity: Int32 read write;

 

Int32 Capacity { get; set; }

 

var Capacity: Int32 { get{} set{} }

 

Integer Capacity { __get; __set; }

Count  virtual

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

ItemClass  virtual

 

property ItemClass: TCollectionItemClass read;

 

TCollectionItemClass ItemClass { get; }

 

var ItemClass: TCollectionItemClass { get{} }

 

TCollectionItemClass ItemClass { __get; }

Items  virtual

 

property Items[aIndex: Int32]: TCollectionItem read write;

 

TCollectionItem Items[Int32 aIndex] { get; set; }

 

subscript Items(_ aIndex: Int32) -> TCollectionItem { get{} set{} }

 

TCollectionItem Items[Integer aIndex] { __get; __set; }

NextID  protected virtual

 

property NextID: Int32 read;

 

Int32 NextID { get; }

 

var NextID: Int32 { get{} }

 

Integer NextID { __get; }

PropName  protected virtual

 

property PropName: String read write;

 

String PropName { get; set; }

 

var PropName: String { get{} set{} }

 

String PropName { __get; __set; }

UpdateCount  protected virtual

 

property UpdateCount: Int32 read;

 

Int32 UpdateCount { get; }

 

var UpdateCount: Int32 { get{} }

 

Integer UpdateCount { __get; }

 

constructor    (declared in TPersistent) .NET, Cooper, Island

 

constructor

 

TCollection()

 

init()

 

TCollection()

constructor (TCollectionItemClass)

 

constructor(aItemClass: TCollectionItemClass)

 

TCollection(TCollectionItemClass aItemClass)

 

init(_ aItemClass: TCollectionItemClass)

 

TCollection(TCollectionItemClass aItemClass)

Parameters:

  • aItemClass:

Add  virtual

 

method Add: TCollectionItem

 

TCollectionItem Add()

 

func Add() -> TCollectionItem

 

TCollectionItem Add()

Assign  virtual    (declared in TPersistent)

 

method Assign(Source: TPersistent)

 

void Assign(TPersistent Source)

 

func Assign(_ Source: TPersistent)

 

void Assign(TPersistent Source)

Parameters:

  • Source:

AssignTo  protected virtual    (declared in TPersistent)

 

method AssignTo(Dest: TPersistent)

 

void AssignTo(TPersistent Dest)

 

func AssignTo(_ Dest: TPersistent)

 

void AssignTo(TPersistent Dest)

Parameters:

  • Dest:

BeginUpdate  virtual

 

method BeginUpdate

 

void BeginUpdate()

 

func BeginUpdate()

 

void BeginUpdate()

Changed  protected virtual

 

method Changed

 

void Changed()

 

func Changed()

 

void Changed()

Clear  virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

DefineProperties  virtual    (declared in TPersistent)

 

method DefineProperties(Filer: TObject)

 

void DefineProperties(TObject Filer)

 

func DefineProperties(_ Filer: TObject)

 

void DefineProperties(TObject Filer)

Parameters:

  • Filer:

Delete  virtual

 

method Delete(aIndex: Int32)

 

void Delete(Int32 aIndex)

 

func Delete(_ aIndex: Int32)

 

void Delete(Integer aIndex)

Parameters:

  • aIndex:

EndUpdate  virtual

 

method EndUpdate

 

void EndUpdate()

 

func EndUpdate()

 

void EndUpdate()

FindItemID  virtual

 

method FindItemID(aID: Int32): TCollectionItem

 

TCollectionItem FindItemID(Int32 aID)

 

func FindItemID(_ aID: Int32) -> TCollectionItem

 

TCollectionItem FindItemID(Integer aID)

Parameters:

  • aID:

GetItem  protected virtual

 

method GetItem(aIndex: Int32): TCollectionItem

 

TCollectionItem GetItem(Int32 aIndex)

 

func GetItem(_ aIndex: Int32) -> TCollectionItem

 

TCollectionItem GetItem(Integer aIndex)

Parameters:

  • aIndex:

GetNamePath  virtual    (declared in TPersistent)

 

method GetNamePath: DelphiString

 

DelphiString GetNamePath()

 

func GetNamePath() -> DelphiString

 

DelphiString GetNamePath()

GetOwner  protected virtual    (declared in TPersistent)

 

method GetOwner: TPersistent

 

TPersistent GetOwner()

 

func GetOwner() -> TPersistent

 

TPersistent GetOwner()

Insert  virtual

 

method Insert(aIndex: Int32): TCollectionItem

 

TCollectionItem Insert(Int32 aIndex)

 

func Insert(_ aIndex: Int32) -> TCollectionItem

 

TCollectionItem Insert(Integer aIndex)

Parameters:

  • aIndex:

Notify  protected virtual

 

method Notify(aItem: TCollectionItem; Action: TCollectionNotification)

 

void Notify(TCollectionItem aItem, TCollectionNotification Action)

 

func Notify(_ aItem: TCollectionItem, _ Action: TCollectionNotification)

 

void Notify(TCollectionItem aItem, TCollectionNotification Action)

Parameters:

  • aItem:
  • Action:

Owner  virtual

 

method Owner: TPersistent

 

TPersistent Owner()

 

func Owner() -> TPersistent

 

TPersistent Owner()

SetItem  protected virtual

 

method SetItem(aIndex: Int32; aValue: TCollectionItem)

 

void SetItem(Int32 aIndex, TCollectionItem aValue)

 

func SetItem(_ aIndex: Int32, _ aValue: TCollectionItem)

 

void SetItem(Integer aIndex, TCollectionItem aValue)

Parameters:

  • aIndex:
  • aValue:

SetItemName  protected virtual

 

method SetItemName(aItem: TCollectionItem)

 

void SetItemName(TCollectionItem aItem)

 

func SetItemName(_ aItem: TCollectionItem)

 

void SetItemName(TCollectionItem aItem)

Parameters:

  • aItem:

Update  protected virtual

 

method Update(aItem: TCollectionItem)

 

void Update(TCollectionItem aItem)

 

func Update(_ aItem: TCollectionItem)

 

void Update(TCollectionItem aItem)

Parameters:

  • aItem:

Descendants