This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMxdServerQuery Interface > IMxdServerQuery.QueryFeatures Method (ArcObjects .NET 10.5 SDK) |
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,
IFeatureCursor** features
);
[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 features [out, retval]
features is a parameter of type IFeatureCursor