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

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

IGraphicFeatureServer2.GetCount2 Method

[Visual Basic .NET]
Public Function GetCount2 ( _
    ByVal gdbVersion As String, _
    ByVal LayerOrTableID As Integer, _
    ByVal DefinitionExpression As String, _
    ByVal queryFilter As IQueryFilter _
) As Integer
public int GetCount2 (
    string gdbVersion,
    int LayerOrTableID,
    string DefinitionExpression,
    IQueryFilter queryFilter
HRESULT GetCount2(
  BSTR gdbVersion,
  long LayerOrTableID,
  BSTR DefinitionExpression,
  IQueryFilter* queryFilter
gdbVersion [in]

gdbVersion is a parameter of type BSTR 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

IGraphicFeatureServer2 Interface