<?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: Get Attributes from select feature on map using arcobjects in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-attributes-from-select-feature-on-map-using/m-p/717177#M19108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;However, IFeatureSelection doesn't work with IEnumFeature. What to do? I have to use ISelection instead. Are there any other ways?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you start from a FeatureLayer, cast it to IFeatureSelection and get IFeatureSelection.SelectionSet. ISelectionSet.Search returns a search cursor that you can use to loop over all selected features in the layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 May 2013 19:32:51 GMT</pubDate>
    <dc:creator>FridjofSchmidt</dc:creator>
    <dc:date>2013-05-18T19:32:51Z</dc:date>
    <item>
      <title>Get Attributes from select feature on map using arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-attributes-from-select-feature-on-map-using/m-p/717174#M19105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to get the attributes of the selected feature on mouse click from the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me with a C# sample code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jan 2013 10:21:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-attributes-from-select-feature-on-map-using/m-p/717174#M19105</guid>
      <dc:creator>shreyesshiv</dc:creator>
      <dc:date>2013-01-06T10:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get Attributes from select feature on map using arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-attributes-from-select-feature-on-map-using/m-p/717175#M19106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. If you want to get all the selected features in Map then&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// Reset to the first selected feature &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ESRI.ArcGIS.Geodatabase.IEnumFeature enumFeature = (ESRI.ArcGIS.Geodatabase.IEnumFeature)map.FeatureSelection; // Explicit Cast&amp;nbsp; enumFeature.Reset(); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ESRI.ArcGIS.Geodatabase.IFeature feature = enumFeature.Next(); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; while (!(feature == null)) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; { &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Do you job here//&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature = enumFeature.Next(); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. &lt;/SPAN&gt;&lt;SPAN style="color: #000066; font-family: monospace;"&gt;If you want to get all the features selected in a Layer then make use of IFeatureSelection interface&lt;BR /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 13:08:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-attributes-from-select-feature-on-map-using/m-p/717175#M19106</guid>
      <dc:creator>ThavitinaiduGulivindala</dc:creator>
      <dc:date>2013-01-07T13:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Get Attributes from select feature on map using arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-attributes-from-select-feature-on-map-using/m-p/717176#M19107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;However, IFeatureSelection doesn't work with IEnumFeature. What to do? I have to use ISelection instead. Are there any other ways?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 18:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-attributes-from-select-feature-on-map-using/m-p/717176#M19107</guid>
      <dc:creator>DannyDong</dc:creator>
      <dc:date>2013-05-17T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get Attributes from select feature on map using arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-attributes-from-select-feature-on-map-using/m-p/717177#M19108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;However, IFeatureSelection doesn't work with IEnumFeature. What to do? I have to use ISelection instead. Are there any other ways?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you start from a FeatureLayer, cast it to IFeatureSelection and get IFeatureSelection.SelectionSet. ISelectionSet.Search returns a search cursor that you can use to loop over all selected features in the layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2013 19:32:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-attributes-from-select-feature-on-map-using/m-p/717177#M19108</guid>
      <dc:creator>FridjofSchmidt</dc:creator>
      <dc:date>2013-05-18T19:32:51Z</dc:date>
    </item>
  </channel>
</rss>

