ArcObjects Library Reference (GeoDatabase)  

ITable.RowCount Method

The number of Rows selected by the specified query.

[Visual Basic .NET]
Public Function RowCount ( _
    ByVal QueryFilter As IQueryFilter _
) As Integer
[C#]
public int RowCount (
    IQueryFilter QueryFilter
);
[C++]
HRESULT RowCount(
  IQueryFilter* QueryFilter,
  long* numRows
);
[C++]

Parameters

QueryFilter [in]

  QueryFilter is a parameter of type IQueryFilter

numRows [out, retval]   numRows is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ITable Interface

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Service area solver (Code Files: frmServiceAreaSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) |

.NET Related Topics

Geodatabase | GeoDatabaseUI | How to create a raster unique value renderer |