InternalDataCollectionBase.IsReadOnly 属性
定义
获取一个值,该值指示 InternalDataCollectionBase 是否为只读。Gets a value that indicates whether the InternalDataCollectionBase is read-only.
public:
property bool IsReadOnly { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public ReadOnly Property IsReadOnly As Boolean
属性值
如果该集合为只读,则为 true
;否则为 false
。true
if the collection is read-only; otherwise, false
. 默认值为 false
。The default is false
.
- 属性
注解
BaseCollection类及其成员不能用作独立组件,而是用作其他集合类从中派生标准功能的类。The BaseCollection class and its members are not intended for use as a stand-alone component, but as the class from which other collection classes derive standard functionality.