CollectionBase.System.Collections.IList.IsFixedSize Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets a value indicating whether the CollectionBase has a fixed size.

Private ReadOnly Property IsFixedSize As Boolean Implements _   IList.IsFixedSize
[C#]
bool IList.IsFixedSize {get;}
[C++]
private: __property bool
   System::Collections::IList::get_IsFixedSize();
[JScript]
private function get IList.IsFixedSize() : Boolean;

Property Value

true if the CollectionBase has a fixed size; otherwise, false. The default is false.

Implements

IList.IsFixedSize

Remarks

A collection with a fixed size does not allow the addition or removal of elements after the collection is created, but it allows the modification of existing elements.

A collection with a fixed size is simply a collection with a wrapper that prevents adding and removing elements; therefore, if changes are made to the underlying collection, including the addition or removal of elements, the fixed-size collection reflects those changes.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CollectionBase Class | CollectionBase Members | System.Collections Namespace