Returns an ArrayList wrapper with a fixed size.
[Visual Basic] Overloads Public Shared Function FixedSize( _ ByVal list As ArrayList _ ) As ArrayList [C#] public static ArrayList FixedSize( ArrayList list ); [C++] public: static ArrayList* FixedSize( ArrayList* list ); [JScript] public static function FixedSize( list : ArrayList ) : ArrayList;
An ArrayList wrapper with a fixed size.
Exception Type | Condition |
---|---|
ArgumentNullException | list is a null reference (in Visual Basic Nothing). |
This wrapper can be used to prevent additions to and deletions from the ArrayList. The elements can still be modified or replaced.
ArrayList Class | ArrayList Members | System.Collections Namespace | ArrayList.FixedSize Overload List