Share via


SqlCeDataReader.HasRows Property

Gets a value that indicates whether the SqlCeDataReader contains one or more rows

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property HasRows As Boolean
    Get
'Usage
Dim instance As SqlCeDataReader
Dim value As Boolean

value = instance.HasRows
public override bool HasRows { get; }
public:
virtual property bool HasRows {
    bool get () override;
}
abstract HasRows : bool
override HasRows : bool
override function get HasRows () : boolean

Property Value

Type: System.Boolean
A Boolean value.

See Also

Reference

SqlCeDataReader Class

System.Data.SqlServerCe Namespace