Share via


CRowset::MoveFirst

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CRowset::MoveFirst.

Moves the cursor to the initial position and retrieves the initial row.

Syntax

  
HRESULT MoveFirst( ) throw( );  
  

Return Value

A standard HRESULT.

Remarks

Calls IRowset::RestartPosition to reposition the next-fetch location to the initial position (the position that was the next-fetch location when the rowset was created) and retrieves the initial row.

Requirements

Header: atldbcli.h

See Also

CRowset Class
CRowset::MoveNext
CRowset::MoveToBookmark
CRowset::MovePrev
CRowset::MoveLast
IRowset::RestartPosition