BaseCollection.IsReadOnly BaseCollection.IsReadOnly BaseCollection.IsReadOnly BaseCollection.IsReadOnly Property

定義

取得值,表示集合是否為唯讀。Gets a value indicating whether the collection is read-only.

public:
 property bool IsReadOnly { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public ReadOnly Property IsReadOnly As Boolean

屬性值

這個屬性一律會是 falseThis property is always false.

備註

集合,衍生自BaseCollection類別都可寫入,這也是為什麼此屬性一律傳回falseThe collections that derive from the BaseCollection class are always writable, which is why this property always returns false.

適用於