ArrayListStatic: FixedSize

FixedSize

Returns an ArrayList object that is wrapped in a fixedsize object.

 Public Function FixedSize(
	  ByVal list As ArrayList ) As ArrayList

Parameters

list
[ByVal] ArrayList. The ArrayList to be wrapped.

Return Values

ArrayList -  The wrapped ArrayList.

Remarks

Passing this object around provides access to the underlying ArrayList, however, prevents the list from changing size. The current values in the list can be modified, but the size of the list cannot change.

See Also

Project VBCorLib Overview | Class ArrayListStatic Overview