Condividi tramite


CRowset::MoveFirst

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

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

Reference

CRowset Class

CRowset::MoveNext

CRowset::MoveToBookmark

CRowset::MovePrev

CRowset::MoveLast

IRowset::RestartPosition