Share via


DataReader.Read Method

Advances the reader to the next block of data in cases where the reader contains more than one block.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public MustOverride Function Read As Boolean
public abstract bool Read()
public:
virtual bool Read() abstract
abstract Read : unit -> bool
public abstract function Read() : boolean

Return Value

Type: System.Boolean
Returns true if there are more blocks of data to read.

Remarks

Any exception that occurs indicates that a provider-specific error occurred when moving to the next result.

.NET Framework Security

See Also

Reference

DataReader Class

Microsoft.VisualStudio.Data Namespace

NextResult