語言

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 唯讀。 唯讀的集合在建立集合後不允許新增、移除或修改元素。

適用於