ListSortDescriptionCollection.IList.IsReadOnly 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示集合是否为只读。
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 。 只读集合不允许在创建集合后添加、删除或修改元素。