ArrayList: Capacity (let)

Capacity

Sets the number of allocated elements in the array.



 Public Property Let Capacity(
	  ByVal RHS As Long )

Parameters

RHS
[ByVal] Long. The number of elements to set the array to.

Remarks

Exceptions

Exception TypeCondition
ArgumentExceptionThe Capacity was set to a value that is less than Count.

Read/Write.

See Also

Class ArrayList Overview ArrayList Properties ArrayList Methods Capacity (get) Class_InitProperties