SynchronizedCollection<T>.ICollection<T>.IsReadOnly 屬性

定義

取得值,這個值會指出集合是否唯讀。

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

屬性值

false

實作

備註

因為可以新增項目至該集合,使其不屬於唯讀性質,所以這個屬性一律會傳回 false

適用於