Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IList.IsFixedSize Property

When implemented by a class, gets a value indicating whether the IList has a fixed size.

[Visual Basic]
ReadOnly Property IsFixedSize As Boolean
bool IsFixedSize {get;}
__property bool get_IsFixedSize();
function get IsFixedSize() : Boolean;

Property Value

true if the IList has a fixed size; otherwise, false.


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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

IList Interface | IList Members | System.Collections Namespace

© 2018 Microsoft