ListBox.SelectedIndexCollection.IsReadOnly 属性

定义

获取一个值,该值指示集合是否为只读。Gets a value indicating whether the collection is read-only.

public:
 property bool IsReadOnly { bool get(); };
public bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public ReadOnly Property IsReadOnly As Boolean

属性值

如果该集合为只读,则为 true;否则为 falsetrue if the collection is read-only; otherwise, false.

实现

注解

对于此集合,此属性始终 @no__t 为0。This property is always true for this collection. ListBox 控件修改此集合中的项。The items in this collection are modified only by the ListBox control.

适用于