Value::SetArraySize

Value::SetArraySize
SF_INLINE bool SetArraySize(unsigned sz);
Description

SetArraySize sets the size of an array object. Only valid for Array types. This method will resize the array by allocating the necessary storage for the new number of elements. Existing elements are not removed unless the new size is smaller than the current size.

Parameters
Parameters 
Description 
unsigned sz 
The new size of the array. 
Return Value

True if the array was resized otherwise false.