DataView.IsOpen 屬性

定義

取得值,指出資料來源目前是否開放且在 DataTable 上投影出資料檢視。

protected:
 property bool IsOpen { bool get(); };
[System.ComponentModel.Browsable(false)]
protected bool IsOpen { get; }
[System.ComponentModel.Browsable(false)]
[System.Data.DataSysDescription("DataViewIsOpenDescr")]
protected bool IsOpen { get; }
[<System.ComponentModel.Browsable(false)>]
member this.IsOpen : bool
[<System.ComponentModel.Browsable(false)>]
[<System.Data.DataSysDescription("DataViewIsOpenDescr")>]
member this.IsOpen : bool
Protected ReadOnly Property IsOpen As Boolean

屬性值

Boolean

如果來源開放,則為 true,否則為 false

屬性

備註

DataView是 上的 DataTable 「檢視」,因為它提供資料的自訂排序和篩選。 IsOpen您可以查詢 屬性,以判斷 是否已 DataView 使用 Open 方法開啟 。

此屬性的設計僅供內部使用。

適用於

另請參閱