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
| Property | Type | Nullable | Readonly | Summary |
|---|---|---|---|---|
Error | ArcGIS | Yes | Yes | The error that occurred during the identify operation, if there is one. |
GeoElements | ArcGISImmutableCollection<ArcGISGeoElement> | No | Yes | The collection of identified geoelements. |
SublayerResults | ArcGISImmutableCollection<ArcGISIdentifyLayerResult> | No | Yes | 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.