Compartir a través de


CArrayRowset::operator

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

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

Reference

CArrayRowset Class