ListView.SelectedListViewItemCollection.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

属性值

Boolean

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

实现

注解

此集合的此属性始终 true 为。This property is always true for this collection. 只有控件可以修改集合中的项 ListViewThe items in the collection can only be modified by the ListView control.

适用于