RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseArray.Create Constructor

Creates an instance of TBaseArray for elements of a specific size.

Pascal
constructor Create(itemcount: Integer; iSize: Integer); virtual;
C++
virtual __fastcall TBaseArray(int itemcount, int iSize);

Call Create to create an array containing elements with the size specified by the iSize parameter.Create sets the Capacity property to Itemcount and the ItemSize property to iSize. It also initializes the AutoSize property to true and the Count property to 0. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!