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


IGraphicFeatureServer2.GetCount2 Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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
[C#]
public int GetCount2 (
    string gdbVersion,
    int LayerOrTableID,
    string DefinitionExpression,
    IQueryFilter queryFilter
);
[C++]
HRESULT GetCount2(
  BSTR gdbVersion,
  long LayerOrTableID,
  BSTR DefinitionExpression,
  IQueryFilter* queryFilter,
  long* numObjects
);
[C++]

Parameters 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 numObjects [out, retval] numObjects is a parameter of type long

Product Availability

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

See Also

IGraphicFeatureServer2 Interface