<?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 to get subtypes from tables in arcobjects in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-subtypes-from-tables-in-arcobjects/m-p/709270#M18963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#CreateSubtypes.htm"&gt;this page on the API help&lt;/A&gt; file, whilst it's about creating subtypes you should be able to figure out how to access existing subtypes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2019 10:46:59 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2019-09-11T10:46:59Z</dc:date>
    <item>
      <title>How to get subtypes from tables in arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-subtypes-from-tables-in-arcobjects/m-p/709269#M18962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem to get the subtypes from tables in arcmap with the arcobjects library in C# (sharp) lenguage.&lt;/P&gt;&lt;P&gt;So i need that someone could help me with some code example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciating the attention&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 15:38:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-subtypes-from-tables-in-arcobjects/m-p/709269#M18962</guid>
      <dc:creator>Ruben_DarioCalero_Clavijo</dc:creator>
      <dc:date>2019-09-10T15:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get subtypes from tables in arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-subtypes-from-tables-in-arcobjects/m-p/709270#M18963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#CreateSubtypes.htm"&gt;this page on the API help&lt;/A&gt; file, whilst it's about creating subtypes you should be able to figure out how to access existing subtypes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 10:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-subtypes-from-tables-in-arcobjects/m-p/709270#M18963</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-09-11T10:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get subtypes from tables in arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-subtypes-from-tables-in-arcobjects/m-p/709271#M18964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;CODE&gt;&lt;SPAN class="" style="color: #0000ff;"&gt;public&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0000ff;"&gt;void&lt;/SPAN&gt; GetSubtypes(IFeatureClass featureClass) {     &lt;SPAN class="" style="color: #008000;"&gt;// Cast the feature class to the ISubtypes interface.&lt;/SPAN&gt;    ISubtypes subtypes = (ISubtypes)featureClass;      &lt;SPAN class="" style="color: #008000;"&gt;// then you can enumeraate subtypes.&lt;/SPAN&gt;    IEnumSubtype enumSubtype = subtypes.Subtypes
}&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:47:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-subtypes-from-tables-in-arcobjects/m-p/709271#M18964</guid>
      <dc:creator>WeifengHe</dc:creator>
      <dc:date>2021-12-12T05:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get subtypes from tables in arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-subtypes-from-tables-in-arcobjects/m-p/1174438#M20468</link>
      <description>&lt;P&gt;You Can Use the Following Code (C#) -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//here item is a IfeatureClass&lt;/P&gt;&lt;P&gt;ISubtypes subtypes = item as ISubtypes;&lt;BR /&gt;if (subtypes.HasSubtype)&lt;BR /&gt;{&lt;BR /&gt;IEnumSubtype enumSubtype = subtypes.Subtypes;&lt;BR /&gt;enumSubtype.Reset();&lt;BR /&gt;int subcode = -1;&lt;BR /&gt;string subdesc = enumSubtype.Next(out subcode);&lt;BR /&gt;while (!string.IsNullOrEmpty(subdesc))&lt;BR /&gt;{&lt;BR /&gt;subdesc = enumSubtype.Next(out subcode);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//str3 is a string (empty)&lt;BR /&gt;str3 = subdesc;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//in this above code you can able to find subtype names associated with each featurelayer&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 04:44:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-subtypes-from-tables-in-arcobjects/m-p/1174438#M20468</guid>
      <dc:creator>KunalSeth</dc:creator>
      <dc:date>2022-05-17T04:44:50Z</dc:date>
    </item>
  </channel>
</rss>

