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


IMapServer4.QueryFeatureData2 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer4 Interface > IMapServer4.QueryFeatureData2 Method
ArcGIS Developer Help

IMapServer4.QueryFeatureData2 Method

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

[Visual Basic .NET]
Public Function QueryFeatureData2 ( _
    ByVal MapName As String, _
    ByVal pLayerDesciscription As ILayerDescription, _
    ByVal Filter As IQueryFilter, _
    ByVal options As IQueryResultOptions _
) As IQueryResult
[C#]
public IQueryResult QueryFeatureData2 (
    string MapName,
    ILayerDescription pLayerDesciscription,
    IQueryFilter Filter,
    IQueryResultOptions options
);
[C++]
HRESULT QueryFeatureData2(
  BSTR MapName,
  ILayerDescription* pLayerDesciscription,
  IQueryFilter* Filter,
  IQueryResultOptions* options
);
[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* options [in]
options is a parameter of type IQueryResultOptions*

Product Availability

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

See Also

IMapServer4 Interface