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


IMapServer4.QueryFeatureIDs2 Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapServer4.QueryFeatureIDs2 Method

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

[Visual Basic .NET]
Public Function QueryFeatureIDs2 ( _
    ByVal MapName As String, _
    ByVal pLayerDesciscription As ILayerDescription, _
    ByVal Filter As IQueryFilter _
) As IFIDSet
[C#]
public IFIDSet QueryFeatureIDs2 (
    string MapName,
    ILayerDescription pLayerDesciscription,
    IQueryFilter Filter
);
[C++]
HRESULT QueryFeatureIDs2(
  BSTR MapName,
  ILayerDescription* pLayerDesciscription,
  IQueryFilter* Filter,
  IFIDSet** FIDs
);
[C++]

Parameters MapName [in] MapName is a parameter of type BSTR pLayerDesciscription [in]
pLayerDesciscription is a parameter of type ILayerDescription 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