This documentation is archived and is not being maintained.

Array.IsFixedSize Property

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

[Visual Basic]
Public Overridable ReadOnly Property IsFixedSize As Boolean  _
   Implements IList.IsFixedSize
[C#]
public virtual bool IsFixedSize {get;}
[C++]
public: __property virtual bool get_IsFixedSize();
[JScript]
public function get IsFixedSize() : Boolean;

Property Value

This property is always true for all arrays.

Implements

IList.IsFixedSize

Remarks

Array implements the IsFixedSize property because it is required by the System.Collections.IList interface.

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

Requirements

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

Array Class | Array Members | System Namespace | System.Collections.IList

Show: