共用方式為


OrderedDictionary<TKey,TValue>.KeyCollection.ICollection<TKey>.IsReadOnly 屬性

定義

取得值,指出 ICollection<T> 是否為唯讀。

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

屬性值

如果 ICollection<T> 為唯讀,true 則為 ;否則,false

實作

適用於