web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Inserting to map - without sort

(0) ShareShare
ReportReport
Posted on by

Hello,

On Dynamics AX 2009 I want to add to map object an element.

When I doing this, i.e

Map m = new Map(Types::Integer, Types::String);

m.insert(2, "aaa");

m.insert(1, "bbb");

I want to scan it as the order I inserted.

When I do scan through MapENumerator I realized that "bbb" comes before "aaa".

This issue is overhead time consuming, and I a fast (time consuming) solution.

Is there any other object I can use, that I can scan squentialy.

Thanks :)

*This post is locked for comments

I have the same question (0)
  • Verified answer
    dolee Profile Picture
    11,279 on at
    Re: Inserting to map - without sort

    Hi Eitan,

    What about List?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans