This document is archived and information here might be outdated.  Recommended version.


ITable.RowCount Method (ArcObjects .NET 10.5 SDK)
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) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver)

.NET Related Topics

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