NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ArrayList Constructor (Int32)

Creates an empty ArrayList with the specified initial capacity.

[Visual Basic]
Overloads Public Sub New( _
   ByVal capacity As Integer _
)
[C#]
public ArrayList(
   int capacity
);
[C++]
public: ArrayList(
   int capacity
);
[JScript]
public function ArrayList(
   capacity : int
);

Parameters

capacity
The number of elements that the new list is initially capable of storing.

Remarks

When adding elements to the list and the number of elements exceeds the capacity, the capacity is doubled.

See Also

ArrayList Class | ArrayList Members | System.Collections Namespace | ArrayList Constructor Overload List | Capacity