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


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

IMxdServerQuery.QueryFeatures Method

Returns a feature cursor for the specified layer based on the given array of query filters. If there is more than one query filter in the array, they are 'ANDed' together.

[Visual Basic .NET]
Public Function QueryFeatures ( _
    ByVal MapName As String, _
    ByVal LayerID As Integer, _
    ByVal QueryFilters As IArray _
) As IFeatureCursor
[C#]
public IFeatureCursor QueryFeatures (
    string MapName,
    int LayerID,
    IArray QueryFilters
);
[C++]
HRESULT QueryFeatures(
  BSTR MapName,
  long LayerID,
  IArray* QueryFilters
);
[C++]
Parameters
MapName [in]

MapName is a parameter of type BSTR LayerID [in]
LayerID is a parameter of type long QueryFilters [in]
QueryFilters is a parameter of type IArray*

Product Availability

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

See Also

IMxdServerQuery Interface