Select to view content in your preferred language

Add the ability to choose how or if the attributes of the result of an identify task are sorted to the IdentifyParameters class

2696
1
03-25-2016 06:26 AM
EdnaMenon
Emerging Contributor

Hi Mike,

Would you please advise when the ability to choose how or if the attributes of the result of an identify task are sorted to the IdentifyParameters class will be implemented in the .NET SDK?

Thanks,

Edna Menon

Senior Product Manager

Telephone (604) 214-9700 x 331

Toll free (866) 915-0088

Mobile (778) 866-7486

Transforming Utility Field Operations

www.clevest.com<www.clevest.com%20>

<http://www.linkedin.com/company/clevest> <https://twitter.com/Clevest>

0 Kudos
1 Reply
MichaelBranscomb
Esri Frequent Contributor

Hi Edna,

Unfortunately this is essentially 'as-designed', in that it is just how .NET handles dictionaries. For more information please see https://msdn.microsoft.com/en-us/library/xfhwa508.aspx which states:

"For purposes of enumeration, each item in the dictionary is treated as a KeyValuePair<TKey, TValue> structure representing a value and its key. The order in which the items are returned is undefined."

However, you could consider iterating the FieldInfos from the service metadata and sorting the order.

Cheers

Mike

0 Kudos