ArcObjects Library Reference (Carto)  

IMapServer4.QueryFeatureData Method

Returns a record set of features that meet the query filter selection criteria for the specified layer.

[Visual Basic .NET]
Public Function QueryFeatureData ( _
    ByVal MapName As String, _
    ByVal LayerID As Integer, _
    ByVal Filter As IQueryFilter _
) As IRecordSet
[C#]
public IRecordSet QueryFeatureData (
    string MapName,
    int LayerID,
    IQueryFilter Filter
);
[C++]
HRESULT QueryFeatureData(
  BSTR MapName,
  long LayerID,
  IQueryFilter* Filter,
  IRecordSet** recordSet
);
[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

recordSet [out, retval]

  recordSet is a parameter of type IRecordSet

Product Availability

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

See Also

IMapServer4 Interface