<?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 OutFields.AddRange method ?? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/outfields-addrange-method/m-p/126523#M3157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to implement the spatial query task and i have many questions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-what is the difference between addrange() an add() methods?.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-how to return all fields (specifying the wildcard '*' as the value of this parameter doesn't work)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-how to use the Field alias names when displaying results in a maptip?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Apr 2010 09:24:33 GMT</pubDate>
    <dc:creator>hcgis</dc:creator>
    <dc:date>2010-04-12T09:24:33Z</dc:date>
    <item>
      <title>OutFields.AddRange method ??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/outfields-addrange-method/m-p/126523#M3157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to implement the spatial query task and i have many questions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-what is the difference between addrange() an add() methods?.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-how to return all fields (specifying the wildcard '*' as the value of this parameter doesn't work)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-how to use the Field alias names when displaying results in a maptip?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 09:24:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/outfields-addrange-method/m-p/126523#M3157</guid>
      <dc:creator>hcgis</dc:creator>
      <dc:date>2010-04-12T09:24:33Z</dc:date>
    </item>
    <item>
      <title>OutFields.AddRange method ??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/outfields-addrange-method/m-p/126524#M3158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Difference between AddRange and Add:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Add method is adding one field e.g.&amp;nbsp; : Add("OBJECTID")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - AddRange is adding a list of fields coming from an enumerable : AddRange(myListOfFields)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Return all fields :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - should be&amp;nbsp; 'query.OutFields.Add("*")'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the Field alias names when displaying results in a maptip :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - I don't think there is any out of the box maptip control which displays alias names&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - But in the FeatureSet returned by the query, there is FieldAliases property giving a dictionary of &amp;lt;name, alias&amp;gt;. This dictionary could be used to develop your own maptip control.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dominique&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 12:55:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/outfields-addrange-method/m-p/126524#M3158</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-04-12T12:55:22Z</dc:date>
    </item>
  </channel>
</rss>

