ListBox.SelectedIndexCollection.IsReadOnly Property


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

true if the collection is read-only; otherwise, false.

This property is always true for this collection. The items in this collection are modified only by the ListBox control.

.NET Framework
Available since 1.1
Return to top