TCollection.SetLimit

Set maximum number of elements in the collection.

Declaration

Source position: objects.pp line 453

default 
  procedure 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

Name Description
TCollection.Init Instantiate a new collection.

results matching ""

    No results matching ""