help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TOwnedCollection.Create

Create a new TOwnerCollection instance.

Declaration

Source position: classesh.inc line 429

public constructor TOwnedCollection.Create(

  AOwner: TPersistent;

  AItemClass: TCollectionItemClass

);

Description

Create creates a new instance of TOwnedCollection and stores the AOwner references. It will the value returned in the TCollection.Owner property of the collection. The ItemClass class reference is passed on to the inherited constructor, and will be used to create new instances in the Insert and Add methods.

See also

TCollection.Create

  

Creates a new collection.

TCollection.Owner

  

Owner of the collection.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505