ReadOnlyDictionary<TKey,TValue>.ValueCollection.ICollection<TValue>.IsReadOnly 屬性

定義

取得值,這個值表示集合是否為唯讀。

property bool System::Collections::Generic::ICollection<TValue>::IsReadOnly { bool get(); };
bool System.Collections.Generic.ICollection<TValue>.IsReadOnly { get; }
member this.System.Collections.Generic.ICollection<TValue>.IsReadOnly : bool
 ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of TValue).IsReadOnly

屬性值

所有情況下都是 true

實作

備註

這個成員是明確介面成員實作, 只有在 ReadOnlyDictionary<TKey,TValue>.ValueCollection 執行個體轉換成 ICollection<T> 介面時,才能使用這個成員。

適用於