ArrayListStatic: ReadOnly |
Returns an ArrayList object wrapped inside a read-only list.
Public Function ReadOnly( ByVal List As ArrayList ) As ArrayList
Passing the object around provides access to the underlying ArrayList, however, the list cannot be changed in size or content.
The following example gets a read-only version of an ArrayList.
Set ReadOnlyList = ArrayList.ReadOnly(OriginalList)