다음을 통해 공유


SqlCeDataReader.Read Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Advances SqlCeDataReader to the next record.

Public Overridable Function Read() As Boolean Implements _   IDataReader.Read
[C#]
public virtual bool Read();
[C++]
public: virtual bool Read();
[JScript]
public function Read() : Boolean;

Return Value

true if there are more rows; otherwise, false.

Implements

IDataReader.Read

Remarks

The default position of the SqlCeDataReader is prior to the first record. To begin accessing any data, you must call Read.

While SqlCeDataReader is in use, the associated SqlCeConnection is busy serving it until you call Close.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeDataReader Class | SqlCeDataReader Members | System.Data.SqlServerCe Namespace