BaseCollection.IsReadOnly Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

[BrowsableAttribute(false)]
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
Show: