<?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 Accessing feature layer properties from feature in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/accessing-feature-layer-properties-from-feature/m-p/11282#M273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a collection of selected features from different feature layers.I want to loop through the selected features and get the name of feature layer for each selected feature using c#. Is it possible to fetch the name of feature layer from a selected feature?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vijayaprabha.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2012 20:10:44 GMT</pubDate>
    <dc:creator>VijayaprabhaRajendran</dc:creator>
    <dc:date>2012-09-21T20:10:44Z</dc:date>
    <item>
      <title>Accessing feature layer properties from feature</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/accessing-feature-layer-properties-from-feature/m-p/11282#M273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a collection of selected features from different feature layers.I want to loop through the selected features and get the name of feature layer for each selected feature using c#. Is it possible to fetch the name of feature layer from a selected feature?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vijayaprabha.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 20:10:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/accessing-feature-layer-properties-from-feature/m-p/11282#M273</guid>
      <dc:creator>VijayaprabhaRajendran</dc:creator>
      <dc:date>2012-09-21T20:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing feature layer properties from feature</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/accessing-feature-layer-properties-from-feature/m-p/11283#M274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If its an edit selection then you can do it through &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002000000137000000" rel="nofollow noopener noreferrer" target="_blank"&gt;IEnumMapFeature&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;IEnumFeature enumFeature = m_editor.EditSelection;
IEnumMapFeature enumMapFeature = enumFeature as IEnumMapFeature;
enumFeature.Reset();
enumMapFeature.Next(out m_origFeature, out m_selLayer);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may have to revert to brute force for a general ArcMap selection.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/accessing-feature-layer-properties-from-feature/m-p/11283#M274</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-10T20:29:08Z</dc:date>
    </item>
  </channel>
</rss>

