| [Overview][Constants][Types][Classes][Procedures and functions][Variables] | 
Set maximum number of elements in the collection.
Source position: objects.pp line 418
| procedure TCollection.SetLimit( | 
| ALimit: Sw_Integer | 
| ); virtual; | 
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.
None.
| 
 | Instantiate a new collection. |