This documentation is archived and is not being maintained.

Array.IList.IsReadOnly Property

Gets a value that indicates whether the Array is read-only.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

bool IList.IsReadOnly { get; }

Property Value

Type: System.Boolean
true if the Array is read-only; otherwise, false.



Caution noteCaution

This property is not present in the Portable Class Library. If you are developing applications that target the Portable Class Library, use the IsReadOnly property instead.

This member is an explicit interface member implementation. It can be used only when the Array instance is cast to an IList interface.

Portable Class Library

Supported in: Portable Class Library