SynchronizedReadOnlyCollection<T>.IList.IsFixedSize 属性

定义

此属性返回 true,这是因为只读集合的大小始终是固定的。This property returns true because the read-only collection is always fixed in size.

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

属性值

Boolean

此属性返回 true,这是因为只读集合的大小始终是固定的。This property returns true because the read-only collection is always fixed in size.

实现

注解

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

适用于