ArrayListStatic: ReadOnly

ReadOnly

Returns an ArrayList object wrapped inside a readonly object.



 Public Function ReadOnly(
	  ByVal list As ArrayList ) As ArrayList

Parameters

list
[ByVal] ArrayList. The ArrayList to wrap

Return Values

ArrayList -  The readonly ArrayList wrapper.

Remarks

Passing the object around provides access to the underlying ArrayList, however, the list cannot be changed in size or content.

See Also

Project VBCorLib Overview Class ArrayListStatic Overview ArrayListStatic Properties ArrayListStatic Methods FixedSize Repeat