Skip to content

Latest commit

 

History

History
70 lines (62 loc) · 1.75 KB

File metadata and controls

70 lines (62 loc) · 1.75 KB
title CRowset::MoveFirst | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
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
C++
helpviewer_keywords
MoveFirst method
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

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