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



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

TCollection.SetLimit

Set maximum number of elements in the collection.

Declaration

Source position: objects.pp line 418

procedure TCollection.SetLimit(

  ALimit: Sw_Integer

); virtual;

Description

SetLimit sets the maximum number of elements in the collection. ALimit must not be less than Count, and should not be larger than MaxCollectionSize

For an example, see Pack.

Errors

None.

See also

TCollection.Init

  

Instantiate a new collection.

Notes

 No notes exist for this page yet. 





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