<?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: Ignore shape area/length fields in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/ignore-shape-area-length-fields/m-p/343498#M9036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot Neil, that's exactly what I needed! Never used those properties before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlos&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Feb 2011 18:37:06 GMT</pubDate>
    <dc:creator>CarlosPiccirillo</dc:creator>
    <dc:date>2011-02-24T18:37:06Z</dc:date>
    <item>
      <title>Ignore shape area/length fields</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ignore-shape-area-length-fields/m-p/343496#M9034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am displaying fields of a layer in a combo box and do not want to include the ESRI generated fields, OID, Shape_Area, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can easily pick out the OID and geometry fields by using the esriFieldType enumerator, but I cannot do the same for Shape_Area, Shape.Area, etc. because they are field type double and there might be other fields of the same type that I want to show.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know I can exclude them if I get the name of each field but the shape area and length fields are called different things depending on the data type, Shape.Area, Shape_Area, Shape, etc. I am hoping there is a more elegant way of doing it. I am programming in C# but code in any language will work as I can convert it to what I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlos&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; if (pLayerFields.get_Field(i).Type == esriFieldType.esriFieldTypeOID)
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 16:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ignore-shape-area-length-fields/m-p/343496#M9034</guid>
      <dc:creator>CarlosPiccirillo</dc:creator>
      <dc:date>2011-02-24T16:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore shape area/length fields</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ignore-shape-area-length-fields/m-p/343497#M9035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The names of the special fields are given by the IFeatureClass interface properties AreaField, LengthField, OIDFieldName, and ShapeFieldName.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 18:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ignore-shape-area-length-fields/m-p/343497#M9035</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-02-24T18:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore shape area/length fields</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ignore-shape-area-length-fields/m-p/343498#M9036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot Neil, that's exactly what I needed! Never used those properties before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlos&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 18:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ignore-shape-area-length-fields/m-p/343498#M9036</guid>
      <dc:creator>CarlosPiccirillo</dc:creator>
      <dc:date>2011-02-24T18:37:06Z</dc:date>
    </item>
  </channel>
</rss>

