<?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: Retrieve Table Datasource Type in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/retrieve-table-datasource-type/m-p/377272#M9979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you look at the IStandaloneTable &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IStandaloneTable_Interface/001200000qv3000000/"&gt;reference&lt;/A&gt;&lt;SPAN&gt;, click on the StandaloneTable CoClass that implements it, which takes you to the list of interfaces it works with.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 18:31:20 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2013-04-23T18:31:20Z</dc:date>
    <item>
      <title>Retrieve Table Datasource Type</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/retrieve-table-datasource-type/m-p/377269#M9976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to get at the data source type of a table in the Table of contents. I usually do this with Feature Layers which is as simple as featureLayer.DataSourceType. The ITable interface has no such property. I can't seem to get at the Table as a Layer. Is there some casting I'm not doing properly? I see the IDataSourceInformation Interface. Is that something I can use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated. If you'd like to see code I'll reply. I just need to know which objects to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Corbin de Bruin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 16:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/retrieve-table-datasource-type/m-p/377269#M9976</guid>
      <dc:creator>Corbinde_Bruin</dc:creator>
      <dc:date>2013-04-23T16:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Table Datasource Type</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/retrieve-table-datasource-type/m-p/377270#M9977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to use IStandaloneTable to get the tables in the TOC. You can QI to an IDataset to get its source&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;IMxDocument pMxdoc = m_application.Document;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; IMap pMap = pMxdoc.FocusMap;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; IStandaloneTableCollection pStandAloneTableCollection = pMap;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; IStandaloneTable pStandalonetable = null;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i = 0; i &amp;lt;= pStandAloneTableCollection.StandaloneTableCount - 1; i++)&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pStandalonetable = pStandAloneTableCollection.StandaloneTable(i); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IDataset pDataset = (IDataset)pStandaloneTable; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Messagebox.show(pStandalonetable.Name &amp;amp; ": " &amp;amp; pDataset.Category);&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 17:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/retrieve-table-datasource-type/m-p/377270#M9977</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-04-23T17:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Table Datasource Type</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/retrieve-table-datasource-type/m-p/377271#M9978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. For future reference, how do I find lists of ArcObjects Interfaces that QI nicely?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 18:09:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/retrieve-table-datasource-type/m-p/377271#M9978</guid>
      <dc:creator>Corbinde_Bruin</dc:creator>
      <dc:date>2013-04-23T18:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Table Datasource Type</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/retrieve-table-datasource-type/m-p/377272#M9979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you look at the IStandaloneTable &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IStandaloneTable_Interface/001200000qv3000000/"&gt;reference&lt;/A&gt;&lt;SPAN&gt;, click on the StandaloneTable CoClass that implements it, which takes you to the list of interfaces it works with.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 18:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/retrieve-table-datasource-type/m-p/377272#M9979</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-04-23T18:31:20Z</dc:date>
    </item>
  </channel>
</rss>

