SynchronizedCollection<T>.IList.IsReadOnly 属性

定义

获取一个值,指示集合是否为只读集合。

property bool System::Collections::IList::IsReadOnly { bool get(); };
bool System.Collections.IList.IsReadOnly { get; }
member this.System.Collections.IList.IsReadOnly : bool
 ReadOnly Property IsReadOnly As Boolean Implements IList.IsReadOnly

属性值

Boolean

false

实现

注解

此属性总是返回 false,这是因为可以在集合中添加项,因此集合不是只读的。

适用于