This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer4 Interface > IMapServer4.QueryRowCount Method (ArcObjects .NET 10.5 SDK) |
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