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


IGraphicFeatureServer.GetCount Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IGraphicFeatureServer.GetCount Method

[Visual Basic .NET]
Public Function GetCount ( _
    ByVal LayerOrTableID As Integer, _
    ByVal DefinitionExpression As String, _
    ByVal queryFilter As IQueryFilter _
) As Integer
[C#]
public int GetCount (
    int LayerOrTableID,
    string DefinitionExpression,
    IQueryFilter queryFilter
);
[C++]
HRESULT GetCount(
  long LayerOrTableID,
  BSTR DefinitionExpression,
  IQueryFilter* queryFilter,
  long* numObjects
);
[C++]

Parameters LayerOrTableID [in] LayerOrTableID is a parameter of type long DefinitionExpression [in] DefinitionExpression is a parameter of type BSTR queryFilter [in]
queryFilter is a parameter of type IQueryFilter numObjects [out, retval] numObjects is a parameter of type long

Product Availability

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

See Also

IGraphicFeatureServer Interface