laptop and a wrench

不具合

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

最後に公開された状態: June 29, 2018 ArcGIS Runtime SDK
不具合 ID 番号 BUG-000112996
送信されましたApril 5, 2018
最終更新日June 5, 2024
適用対象ArcGIS Runtime SDK
見つかったバージョン100.2.0
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスWill Not Be Addressed

参考情報

The current behavior is by-design: the order of keys in a dictionary is not 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." Instead, if the data should be presented to the user in a specific order, then the field attribute values should be requested by Key. For example the BUG reproducer code can be modified: ``` 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()); } } ```

再現の手順

不具合 ID: BUG-000112996

ソフトウェア:

  • ArcGIS Runtime SDK

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動