laptop and a wrench

Bug

IdentifyLayerResult does not maintain the same visibility of the attributes of the GeoElement as in the geodatabase.

Zuletzt veröffentlicht: June 29, 2018 ArcGIS Runtime SDK
Bug-ID-Nummer BUG-000113133
EingereichtApril 11, 2018
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Runtime SDK
Gefunden in Version100.2.0
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

The current behavior is by-design: the order of keys in a dictionary is never guaranteed in .NET. For more information see: https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2?view=netframework-4.7.1#remarks "For purposes of enumeration, each item in the dictionary is treated as a KeyValuePair structure representing a value and its key. The order in which the items are returned is undefined." The field information in the table and service metadata will be in the service defined order, and you could use this instead. e.g. for feature table fields: ``` foreach (var geoelement in result.GeoElements) { foreach (var field in ((FeatureLayer)result.LayerContent).FeatureTable.Fields) { Debug.WriteLine(string.Format("{0}: ",field.Name) + geoelement.Attributes[field.Name]?.ToString()); } } ```

Schritte zur Reproduzierung

Bug-ID: BUG-000113133

Software:

  • ArcGIS Runtime SDK

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln