ListSortDescriptionCollection.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

属性值

true 在所有情况下。

实现

注解

构造后,只读 ListSortDescriptionCollection 。 只读集合不允许在创建集合后添加、删除或修改元素。

适用于