<?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: Displaying field names of a Feature Class in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/displaying-field-names-of-a-feature-class/m-p/1230442#M20538</link>
    <description>&lt;P&gt;The IFeatureClass object has a Fields property which is a collection of all the fields.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will need to iterate through each IField object in the IFields property.&amp;nbsp; Get the count from the IFields and set a for loop.&amp;nbsp; Get each IField object for each index and there is a Name object.&lt;/P&gt;&lt;P&gt;//fc is your featureclass object...&lt;/P&gt;&lt;P&gt;for(int i = 0; i &amp;lt; fc.Fields.FieldCount; i ++)&lt;BR /&gt;{&lt;BR /&gt;IField f = fc.Fields.get_Field(i);&lt;BR /&gt;string name = f.Name;&amp;nbsp; &amp;nbsp;//collect these...&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Brent&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 14:47:20 GMT</pubDate>
    <dc:creator>BrentHoskisson</dc:creator>
    <dc:date>2022-11-10T14:47:20Z</dc:date>
    <item>
      <title>Displaying field names of a Feature Class</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/displaying-field-names-of-a-feature-class/m-p/1230334#M20537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to this Arc Objects SDK platform.&lt;/P&gt;&lt;P&gt;I can able to get the feature class names from Geodatabase.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want to display the field names of a feature class which is from Geodatabase.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Kindly anyone help me out in this. It will be more helpful if anyone has solution for this.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 07:34:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/displaying-field-names-of-a-feature-class/m-p/1230334#M20537</guid>
      <dc:creator>ShanmugapriyaL1</dc:creator>
      <dc:date>2022-11-10T07:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying field names of a Feature Class</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/displaying-field-names-of-a-feature-class/m-p/1230442#M20538</link>
      <description>&lt;P&gt;The IFeatureClass object has a Fields property which is a collection of all the fields.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will need to iterate through each IField object in the IFields property.&amp;nbsp; Get the count from the IFields and set a for loop.&amp;nbsp; Get each IField object for each index and there is a Name object.&lt;/P&gt;&lt;P&gt;//fc is your featureclass object...&lt;/P&gt;&lt;P&gt;for(int i = 0; i &amp;lt; fc.Fields.FieldCount; i ++)&lt;BR /&gt;{&lt;BR /&gt;IField f = fc.Fields.get_Field(i);&lt;BR /&gt;string name = f.Name;&amp;nbsp; &amp;nbsp;//collect these...&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Brent&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 14:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/displaying-field-names-of-a-feature-class/m-p/1230442#M20538</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2022-11-10T14:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying field names of a Feature Class</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/displaying-field-names-of-a-feature-class/m-p/1230791#M20539</link>
      <description>&lt;P&gt;Thank you for your reply&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 06:45:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/displaying-field-names-of-a-feature-class/m-p/1230791#M20539</guid>
      <dc:creator>ShanmugapriyaL1</dc:creator>
      <dc:date>2022-11-11T06:45:43Z</dc:date>
    </item>
  </channel>
</rss>

