<?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: How does one remove a feature layer? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-does-one-remove-a-feature-layer/m-p/1112268#M7300</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The &lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic11880.html" target="_self"&gt;RemoveLayer&lt;/A&gt; method on the Map will accomplish this.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;MapView.Active.Map.RemoveLayer(layerToRemove);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 21:56:33 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2021-10-28T21:56:33Z</dc:date>
    <item>
      <title>How does one remove a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-does-one-remove-a-feature-layer/m-p/1112260#M7299</link>
      <description>&lt;P&gt;I fear this is a super basic question, but I have not found an actual answer on line... If a user of a project in ArcGIS Pro wants to remove a layer, they simply right-click it and select "Remove" from the resulting menu. I'm curious how one would accomplish the same thing programmatically.&lt;/P&gt;&lt;P&gt;To create a layer you can simply do something like:&amp;nbsp;FeatureLayer featLayer = LayerFactory.Instance.CreateFeatureLayer(params);&lt;/P&gt;&lt;P&gt;Is there an opposite equivalent of this? A RemoveFeatureLayer(params)? I can't seem to find anything for this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 21:37:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-does-one-remove-a-feature-layer/m-p/1112260#M7299</guid>
      <dc:creator>RogerAsbury</dc:creator>
      <dc:date>2021-10-28T21:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: How does one remove a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-does-one-remove-a-feature-layer/m-p/1112268#M7300</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The &lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic11880.html" target="_self"&gt;RemoveLayer&lt;/A&gt; method on the Map will accomplish this.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;MapView.Active.Map.RemoveLayer(layerToRemove);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 21:56:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-does-one-remove-a-feature-layer/m-p/1112268#M7300</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2021-10-28T21:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: How does one remove a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-does-one-remove-a-feature-layer/m-p/1112275#M7301</link>
      <description>&lt;P&gt;Thank you very much! Not sure how I missed that. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 22:22:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-does-one-remove-a-feature-layer/m-p/1112275#M7301</guid>
      <dc:creator>RogerAsbury</dc:creator>
      <dc:date>2021-10-28T22:22:49Z</dc:date>
    </item>
  </channel>
</rss>

