IRowPosition

IRowPosition allows multiple components to share the concept of a current row over a rowset.

When to Implement

IRowPosition is not implemented by the provider. It is implemented by a common service provider component that works over any rowset.

When to Call

IRowPosition is used by multiple components to coordinate the concept of a current position within a rowset. Components call GetRowPosition to get the current row and SetRowPosition to set a new position. Changing the current row generates notification for any listeners of the RowPosition object.

Method Description
ClearRowPosition Clears the row position.
GetRowset Returns the current underlying rowset.
GetRowPosition Retrieves the current row position.
Initialize Sets the rowset to be used by the RowPosition object.
SetRowPosition Sets the current row position. ClearRowPosition must be called prior to setting the new row position.