ReadOnlySet<T>.ICollection<T>.IsReadOnly 属性

定义

获取一个值,该值指示 ICollection<T> 是否为只读。

property bool System::Collections::Generic::ICollection<T>::IsReadOnly { bool get(); };
bool System.Collections.Generic.ICollection<T>.IsReadOnly { get; }
member this.System.Collections.Generic.ICollection<T>.IsReadOnly : bool
 ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of T).IsReadOnly

属性值

如果 ICollection<T> 为只读,则为 true;否则,false

实现

适用于