| title |
CRowset::MoveFirst | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
article |
| f1_keywords |
CRowset<TAccessor>::MoveFirst |
ATL::CRowset::MoveFirst |
CRowset<TAccessor>.MoveFirst |
CRowset::MoveFirst |
CRowset.MoveFirst |
ATL.CRowset.MoveFirst |
ATL.CRowset<TAccessor>.MoveFirst |
ATL::CRowset<TAccessor>::MoveFirst |
|
| dev_langs |
|
| helpviewer_keywords |
|
| ms.assetid |
a17c0799-ead9-4d85-9a1d-8b17188d01e3 |
| caps.latest.revision |
10 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
Moves the cursor to the initial position and retrieves the initial row.
HRESULT MoveFirst( ) throw( );
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.
Header: atldbcli.h
CRowset Class
CRowset::MoveNext
CRowset::MoveToBookmark
CRowset::MovePrev
CRowset::MoveLast
IRowset::RestartPosition