Collection.IList.IsReadOnly Property


Gets a value indicating whether the Collection object is read-only. Implements the IList interface.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

bool IList.IsReadOnly { get; }

Property Value

Type: System.Boolean

Returns True if the Collection object is read-only; otherwise, False.

A collection that is read-only does not allow the addition, removal, or modification of elements after the collection is created.

Return to top