BaseCollection.IsReadOnly Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating whether the collection is read-only.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public bool IsReadOnly { get; }

Property Value

Type: System.Boolean

This property is always false.

The collections that derive from the BaseCollection class are always writable, which is why this property always returns false.

.NET Framework
Available since 1.1
Return to top