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.

属性

注解

是的 "视图" DataTable , 因为它提供数据的自定义排序和筛选。 DataViewA DataView is a "view" on a DataTable because it provides custom sorting and filtering of the data. 可以查询DataView 属性,Open以确定是否已通过使用方法打开。 IsOpenThe 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.

适用于

另请参阅