Skip To Content ArcGIS for Developers Sign In Dashboard

Enums.QueryFeatureFields enumeration

Controls which attributes are included in the features returned by ServiceFeatureTable::queryFeaturesWithFieldOptions() or ServiceFeatureTable::queryRelatedFeaturesWithFieldOptions().

The QueryFeatureFields can be one of:

ConstantDescription
Enums.QueryFeatureFieldsIdsOnly(0) Includes only the object id and global id in the ArcGISFeatures of the query result. The features are returned with no other attributes. The geometry returned by this request does not include m-values, even if they are defined in the feature service. To get full feature details, you should load the feature.
Enums.QueryFeatureFieldsMinimum(1) Includes the minimum set of attributes in the ArcGISFeatures of the query result. The geometry returned by this request does not include m-values, even if they are defined in the feature service. To get full feature details, you should load the feature.
Enums.QueryFeatureFieldsLoadAll(2) Includes all available attributes in the ArcGISFeatures of the query result. This constant loads the features returned by the query, which makes all attributes available. The geometry returned by this request includes m-values if defined in the feature service.

Feedback on this topic?