Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULDataReader class

MovePrevious method Next Page

MoveRelative method


UL Ext.: Positions the cursor relative to the current row.

Syntax

Visual Basic

Public Function MoveRelative( _
ByVal offset As Integer _
) As Boolean

C#

public bool MoveRelative(
int offset
);

Parameters
Return value

True if successful, false otherwise. For example, the method fails if it positions beyond the first or last row.

Remarks

If the row does not exist, the method returns false, and the cursor position is after the last row (ULDataReader.IsEOF) if

offset is positive, and before the first row (ULDataReader.IsBOF) if the

offset is negative.

See also