JCL Help:TWideStrings.GetCapacity

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Property read method of the Capacity property.


Pascal

 protected function GetCapacity: Integer; virtual;


Return Value

The capacity of the list.


Description

Property read method of the Capacity property. Capacity determines the number of strings that the list can hold without having to resize/reallocate the internal storage. The TWideStrings implementation simply returns the number of strings in the list by querying the Count property. However, descendant classes can, and usually will, override this method to return the actual capacity of the list.


About

Donator

Mike Lischke


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page