I have C# class and method which returns the Dictionary. I can create the instance of this class in Axapta, call this method and return the collection to Axapta, but I can not iterate over this collection and get its keys and values.
Here is my Axapta code:
ClrObject obj;
;
obj = document.findText("some"); // returns Dictionary<string, string>
length = obj.get_Count(); // returns 5 (fine!)
obj.MoveNext(); // doesn't works
for (i = 0; i < length; i++ )
{
obj.get_Key(i); // doesn't work
}
Is the a way to iterate over Dictionary in Axapta ?