Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SqlCeResultSet.ReadRelative Method

Moves the reader the specified amount from the current position.

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

member ReadRelative : 
        position:int -> bool 

Parameters

position
Type: System.Int32
The number of positions to move the reader.

Return Value

Type: System.Boolean
True if the operation succeeded; otherwise, false.

If you pass a positive integer for the position, this function moves the reader forward in the result set. A negative integer moves the reader backward through the result set.

The following example creates a ResultSet object and then calls several methods, including ReadRelative.

No code example is currently available or this language may not be supported.
Show:
© 2015 Microsoft