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


IGraphicFeatureServer.GetCount Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicFeatureServer Interface > IGraphicFeatureServer.GetCount Method
ArcGIS Developer Help

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
);
[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*

Product Availability

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

See Also

IGraphicFeatureServer Interface