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
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.