ArcObjects Library Reference (Carto)  

IMapServer4.QueryRowCount Method

Returns the count of the rows that meet the query filter selection criteria for the specified table.

[Visual Basic .NET]
Public Function QueryRowCount ( _
    ByVal MapName As String, _
    ByVal pTableDescription As IMapTableDescription, _
    ByVal pFilter As IQueryFilter _
) As Integer
[C#]
public int QueryRowCount (
    string MapName,
    IMapTableDescription pTableDescription,
    IQueryFilter pFilter
);
[C++]
HRESULT QueryRowCount(
  BSTR MapName,
  IMapTableDescription* pTableDescription,
  IQueryFilter* pFilter,
  long* pCount
);
[C++]

Parameters

MapName [in]   MapName is a parameter of type BSTR pTableDescription [in]

  pTableDescription is a parameter of type IMapTableDescription

pFilter [in]

  pFilter is a parameter of type IQueryFilter

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

Product Availability

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

See Also

IMapServer4 Interface