<?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: ImageServiceIdentifyResult has no LayerName in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338490#M8693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ImageServiceIdentifyResult class has a 'Name' property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example with this &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Portland/Aerial/ImageServer"&gt;image service&lt;/A&gt;&lt;SPAN&gt;, the Name property is returning 'PreAerial2001'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it what you are looking for?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jan 2011 08:41:52 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2011-01-06T08:41:52Z</dc:date>
    <item>
      <title>ImageServiceIdentifyResult has no LayerName</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338489#M8692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ImageServiceIdentifyResult class does not seem to have a LayerName property like IdentifyResult does... is there any way to get this info from either ImageServiceIdentifyEventArgs or ImageServiceIdentifyResult?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 22:22:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338489#M8692</guid>
      <dc:creator>RyanCoodey</dc:creator>
      <dc:date>2011-01-05T22:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: ImageServiceIdentifyResult has no LayerName</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338490#M8693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ImageServiceIdentifyResult class has a 'Name' property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example with this &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Portland/Aerial/ImageServer"&gt;image service&lt;/A&gt;&lt;SPAN&gt;, the Name property is returning 'PreAerial2001'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it what you are looking for?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 08:41:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338490#M8693</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-01-06T08:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: ImageServiceIdentifyResult has no LayerName</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338491#M8694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm, for me the Name property contains the string "Pixel", which is not the Name/ID of the Layer...&amp;nbsp; any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply Dominique!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 14:10:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338491#M8694</guid>
      <dc:creator>RyanCoodey</dc:creator>
      <dc:date>2011-01-06T14:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: ImageServiceIdentifyResult has no LayerName</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338492#M8695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are right, it's returning 'Pixel'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So it looks like the layer name info is not available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A workaround might be to add it in the delegate hooked up to ExecuteComplete event:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
identifyTask.ExecuteCompleted += (s,e) =&amp;gt; IdentifyTask_ExecuteCompleted(s, e, "MyImageLayerID");
.........
&lt;SPAN style="color:black;"&gt;&lt;SPAN style="color:blue;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color:blue;"&gt;void&lt;/SPAN&gt; IdentifyTask_ExecuteCompleted(&lt;SPAN style="color:blue;"&gt;object&lt;/SPAN&gt; sender, &lt;SPAN style="color:#2b91af;"&gt;ImageServiceIdentifyEventArgs&lt;/SPAN&gt; args, string layerID)&lt;/SPAN&gt;
{
......
 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:01:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338492#M8695</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-11T16:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: ImageServiceIdentifyResult has no LayerName</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338493#M8696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for confirming and for the example Dominique!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the same handling method for multiple image layers, so to make my life easier I just keep track of the last identified items layer name and in the method just use this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 19:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/imageserviceidentifyresult-has-no-layername/m-p/338493#M8696</guid>
      <dc:creator>RyanCoodey</dc:creator>
      <dc:date>2011-01-06T19:31:21Z</dc:date>
    </item>
  </channel>
</rss>

