The ITPosition class

ITPostion is an enumerated type.

Functions that might perform positioning (for example, ITCursor::NextRow() and ITSet::Fetch()) accept an instance of ITPosition as one of their arguments.
Field Description
ITPositionCurrent Specifies the current position in the sequence.
ITPositionNext Specifies the next position in the sequence.
ITPositionPrior Specifies the previous position in the sequence.
ITPositionFirst Specifies the first position in the sequence.
ITPositionLast Specifies the last position in the sequence.
ITPositionAbsolute Specifies that the corresponding (always positive) offset is from the beginning of the sequence; for example:
value = set.Fetch(0, ITPositionAbsolute, 10)
ITPositionRelative Specifies that corresponding offset is from the current position; for example:
value = list.Fetch(0, ITPositionRelative, -1)