ArcObjects Library Reference (Carto)  

IGraphicFeatureServer.QueryIDs Method

[Visual Basic .NET]
Public Function QueryIDs ( _
    ByVal LayerOrTableID As Integer, _
    ByVal DefinitionExpression As String, _
    ByVal queryFilter As IQueryFilter _
) As ILongArray
[C#]
public ILongArray QueryIDs (
    int LayerOrTableID,
    string DefinitionExpression,
    IQueryFilter queryFilter
);
[C++]
HRESULT QueryIDs(
  long LayerOrTableID,
  BSTR DefinitionExpression,
  IQueryFilter* queryFilter,
  ILongArray** objectIDs
);
[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

objectIDs [out, retval]

  objectIDs is a parameter of type ILongArray

Product Availability

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

See Also

IGraphicFeatureServer Interface