Converts data from a cursor or the current object into the requested resultmode.