DataView.IsOpen 屬性

定義

取得值,指出資料來源目前是否開放且在 DataTable 上投影出資料檢視。Gets a value that indicates whether the data source is currently open and projecting views of data on the DataTable.

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

屬性值

如果來源開放,則為 true,否則為 falsetrue, if the source is open; otherwise, false.

屬性

備註

是上的「view」,因為它提供資料的自訂排序和篩選。DataTable DataViewA DataView is a "view" on a DataTable because it provides custom sorting and filtering of the data. 您可以使用DataView IsOpen 方法來查詢屬性,以判斷Open是否已開啟。The IsOpen property can be queried to determine whether a DataView has been opened by using the Open method.

這個屬性僅供內部使用。This property is designed for internal use only.

適用於

另請參閱