ArcObjects Library Reference  (GeoDatabase)    

ITable.RowCount Method

The number of Rows selected by the specified query.

[Visual Basic 6.0]
Function RowCount(
    ByVal QueryFilter As IQueryFilter _
) As Long
[Visual Basic .NET]
Public Function RowCount ( _
    ByVal QueryFilter As IQueryFilter _
) As Integer
[C#]
public int RowCount (
    IQueryFilter QueryFilter
);
[Java]
public int rowCount (
    IQueryFilter QueryFilter
)
throws
    IOException,
    AutomationException
[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