BindingSource.IsReadOnly 屬性

定義

取得值,指出基礎清單是否為唯讀。

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

屬性值

Boolean

如果清單是唯讀的,則為 true,否則為 false

實作

屬性

備註

唯讀的清單不允許在建立清單之後新增、移除或修改任何清單專案。

適用於