แก้ไข

แชร์ผ่าน


DataView.IsOpen Property

Definition

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)]
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

Property Value

true, if the source is open; otherwise, false.

Attributes

Remarks

A DataView is a "view" on a DataTable because it provides custom sorting and filtering of the data. 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.

Applies to

See also