This document is archived and information here might be outdated. Recommended version. |
The number of rows in the indicated dataset.
[Visual Basic .NET] Public Function get_RowCount ( _ ByVal Index As Integer _ ) As Integer
[C#] public int get_RowCount ( int Index );
[C++]
HRESULT get_RowCount(
long Index,
System.Int32* numRows
);
[C++]
Parameters Index [in]
Index is a parameter of type long numRows [out, retval]
numRows is a parameter of type long*
Returns the number of rows in the dataset. Should be implemented to be quick (i.e. faster than just getting a cursor of everything and counting).