IGridProvider::RowCount Property
Gets the total number of rows in a grid.
Syntax
HRESULT IGridProvider::get_RowCount(int *pRetVal);
Parameters
- pRetVal
[retval][out] The address of a variable that receives the count of the total number of rows in a grid.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Hidden rows and columns, depending on the provider implementation, may be loaded in the logical tree and will therefore be reflected in the IGridProvider::RowCount and IGridProvider::ColumnCount properties. If the hidden rows and columns have not yet been loaded they will not be counted.
See Also