ArcObjects Library Reference (Carto)  

IMapServer4.QueryFeatureIDs Method

Returns the IDs of the features that meet the query filter selection criteria for the specified layer.

[Visual Basic .NET]
Public Function QueryFeatureIDs ( _
    ByVal MapName As String, _
    ByVal LayerID As Integer, _
    ByVal Filter As IQueryFilter _
) As IFIDSet
[C#]
public IFIDSet QueryFeatureIDs (
    string MapName,
    int LayerID,
    IQueryFilter Filter
);
[C++]
HRESULT QueryFeatureIDs(
  BSTR MapName,
  long LayerID,
  IQueryFilter* Filter,
  IFIDSet** FIDs
);
[C++]

Parameters

MapName [in]   MapName is a parameter of type BSTR LayerID [in]   LayerID is a parameter of type long Filter [in]

  Filter is a parameter of type IQueryFilter

FIDs [out, retval]

  FIDs is a parameter of type IFIDSet

Product Availability

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

See Also

IMapServer4 Interface