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