<?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 How to know if a featureclass is from a shapefile in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-know-if-a-featureclass-is-from-a-shapefile/m-p/666972#M17895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have this issue, programmatically i have a feature class get it from a map document, and i want to know if this featureclass comes from a shapefile or a SDE database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any suggestion is welcome.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2011 13:03:44 GMT</pubDate>
    <dc:creator>Cristian_Galindo</dc:creator>
    <dc:date>2011-05-24T13:03:44Z</dc:date>
    <item>
      <title>How to know if a featureclass is from a shapefile</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-know-if-a-featureclass-is-from-a-shapefile/m-p/666972#M17895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have this issue, programmatically i have a feature class get it from a map document, and i want to know if this featureclass comes from a shapefile or a SDE database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any suggestion is welcome.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 13:03:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-know-if-a-featureclass-is-from-a-shapefile/m-p/666972#M17895</guid>
      <dc:creator>Cristian_Galindo</dc:creator>
      <dc:date>2011-05-24T13:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to know if a featureclass is from a shapefile</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-know-if-a-featureclass-is-from-a-shapefile/m-p/666973#M17896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cristian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the &lt;/SPAN&gt;&lt;STRONG&gt;IFeatureLayer2&lt;/STRONG&gt;&lt;SPAN&gt; Interface it has a property called &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;DataSourceType&lt;/SPAN&gt;&lt;SPAN&gt; which returns a string that describes the source type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 13:18:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-know-if-a-featureclass-is-from-a-shapefile/m-p/666973#M17896</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2011-05-24T13:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to know if a featureclass is from a shapefile</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-know-if-a-featureclass-is-from-a-shapefile/m-p/666974#M17897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The only drawback to using the DataSourceType is that it returns a string in the localized language. Take a look at &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/26919-AO-How-to-determine-the-file-format-of-a-feature-class-%28shapefile-GDB-CAD-etc.%29?p=94901#post94901"&gt;this post&lt;/A&gt;&lt;SPAN&gt; for code to get a language-independent identification of what type it is.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 13:31:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-know-if-a-featureclass-is-from-a-shapefile/m-p/666974#M17897</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2011-05-24T13:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to know if a featureclass is from a shapefile</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-know-if-a-featureclass-is-from-a-shapefile/m-p/666975#M17898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for your reply, I alsofound a way to do it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using the esriWorkspaceType.esriFileSystemWorkspace i can know if there is a system file or a geoDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 17:30:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-know-if-a-featureclass-is-from-a-shapefile/m-p/666975#M17898</guid>
      <dc:creator>Cristian_Galindo</dc:creator>
      <dc:date>2011-05-26T17:30:25Z</dc:date>
    </item>
  </channel>
</rss>

