Skip to content

Latest commit

 

History

History
68 lines (59 loc) · 1.31 KB

File metadata and controls

68 lines (59 loc) · 1.31 KB
title CArrayRowset::operator | 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
CArrayRowset::operator[]
CArrayRowset.operator[]
dev_langs
C++
helpviewer_keywords
operator [], arrays
[] operator
operator[], arrays
ms.assetid 3bb8c310-cc1e-46e8-9711-9b565488acaa
caps.latest.revision 8
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

CArrayRowset::operator

Provides array-like syntax for accessing a row in the rowset.

Syntax

  
      TAccessor  
      & operator[](int nrow);  

Parameters

TAccessor
A templated parameter that specifies the type of accessor stored in the rowset.

nRow
[in] Number of the row (array element) you want to access.

Return Value

The contents of the requested row.

Remarks

If nRow exceeds the number of rows in the rowset, an exception is thrown.

Requirements

Header: atldbcli.h

See Also

CArrayRowset Class