SynchronizedCollection<T>.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

屬性值

false

實作

備註

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

適用於