Returns an IList wrapper with a fixed size.
[Visual Basic] Overloads Public Shared Function FixedSize( _ ByVal list As IList _ ) As IList [C#] public static IList FixedSize( IList list ); [C++] public: static IList* FixedSize( IList* list ); [JScript] public static function FixedSize( list : IList ) : IList;
An IList 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 IList. The elements can still be modified or replaced.
ArrayList Class | ArrayList Members | System.Collections Namespace | ArrayList.FixedSize Overload List