Skip to content

Namespace: Esri::GameEngine::MapView
Class: Esri/GameEngine/MapView/ArcGISIdentifyLayerResult
Since: 1.0.0

Summary

The identify layer result contains the identified geoelements of a layer.

Properties

PropertyTypeNullableReadonlySummary
ErrorArcGISExceptionYesYes

The error that occurred during the identify operation, if there is one.

GeoElementsArcGISImmutableCollection<ArcGISGeoElement>NoYes

The collection of identified geoelements.

SublayerResultsArcGISImmutableCollection<ArcGISIdentifyLayerResult>NoYes

The identify layer result's collection of sub results.

Error

ArcGISException GetError() const

The error that occurred during the identify operation, if there is one.

GeoElements

ArcGISImmutableCollection<ArcGISGeoElement> GetGeoElements() const

The collection of identified geoelements.

If there are no geoelement results at the layer level (for layers where geoelement results are exposed in sublayer results), an empty collection is returned. The function will always return an array containing objects that implement ArcGISGeoElement. The specific type of geoelement in the collection depends on the type of objects contained in the layer.

SublayerResults

ArcGISImmutableCollection<ArcGISIdentifyLayerResult> GetSublayerResults() const

The identify layer result's collection of sub results.

For layers that do not contain sublayers, this array will be empty.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.