AnsweredAssumed Answered

NotSupportedException when setting Graphic attributes api 100 under UWP

Question asked by mike@fltplan.com on May 10, 2017
Latest reply on May 16, 2017 by mnielsen-esristaff

We have code that was running ok under api 10.2.7

 

but now under api 100 we are getting

 

System.NotSupportedException when ever we do anything with a graphic's attributes:

 

var Graphic = new Graphic(Point, new List<KeyValuePair<string, object>>()

{

    new KeyValuePair<string, object>("Mode", Mode),
});

 

 

or like this:

 

Graphic.Attributes.Add(new KeyValuePair<string, object>("Mode", Mode));

 

Is there any workaround for this?

Outcomes