ImmutableHashSet<T>.Builder.ICollection<T>.IsReadOnly 属性

定义

获取一个值,该值指示 ICollection<T> 是否为只读。Gets a value indicating whether the ICollection<T> is read-only.

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

属性值

Boolean

如果 true 是只读的,则为 ICollection<T>;否则为 falsetrue if the ICollection<T> is read-only; otherwise, false.

实现

适用于