ArraySegment<T>.ICollection<T>.IsReadOnly ArraySegment<T>.ICollection<T>.IsReadOnly ArraySegment<T>.ICollection<T>.IsReadOnly Property

定义

获取一个值,该值指示该数组段是否为只读。Gets a value that indicates whether the array segment is read-only.

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

属性值

如果数组段为只读,则为 true;否则为 falsetrue if the array segment is read-only; otherwise, false.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ArraySegment<T> 实例被强制转换为 ICollection<T> 接口时使用。It can be used only when the ArraySegment<T> instance is cast to an ICollection<T> interface.

适用于