<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: NotSupportedException when setting Graphic attributes api 100 under UWP in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/notsupportedexception-when-setting-graphic/m-p/21665#M246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only simple value types are supported as attributes (ie string, integer, double, etc)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2017 19:38:23 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2017-05-16T19:38:23Z</dc:date>
    <item>
      <title>NotSupportedException when setting Graphic attributes api 100 under UWP</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/notsupportedexception-when-setting-graphic/m-p/21663#M244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have code that was running ok under api 10.2.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now under api 100 we are getting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System.NotSupportedException when ever we do anything with a graphic's attributes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 10pt;"&gt;var Graphic = new Graphic(Point, new List&amp;lt;KeyValuePair&amp;lt;string, object&amp;gt;&amp;gt;()&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 10pt;"&gt;{&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 10pt;"&gt;&amp;nbsp; &amp;nbsp; new KeyValuePair&amp;lt;string, object&amp;gt;("Mode", Mode),&lt;BR /&gt;});&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 10pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 10pt;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 10pt;"&gt;or like this:&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 10pt;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 10pt;"&gt;Graphic.Attributes.Add(new KeyValuePair&amp;lt;string, object&amp;gt;("Mode", Mode));&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 10pt;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 10pt;"&gt;Is there any workaround for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 18:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/notsupportedexception-when-setting-graphic/m-p/21663#M244</guid>
      <dc:creator>mh10</dc:creator>
      <dc:date>2017-05-10T18:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: NotSupportedException when setting Graphic attributes api 100 under UWP</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/notsupportedexception-when-setting-graphic/m-p/21664#M245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it works if we only add string attributes? In the code above Mode is an object&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 19:11:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/notsupportedexception-when-setting-graphic/m-p/21664#M245</guid>
      <dc:creator>mh10</dc:creator>
      <dc:date>2017-05-10T19:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: NotSupportedException when setting Graphic attributes api 100 under UWP</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/notsupportedexception-when-setting-graphic/m-p/21665#M246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only simple value types are supported as attributes (ie string, integer, double, etc)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 19:38:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/notsupportedexception-when-setting-graphic/m-p/21665#M246</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2017-05-16T19:38:23Z</dc:date>
    </item>
  </channel>
</rss>

