<?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: Different between IField and IFields in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/different-between-ifield-and-ifields/m-p/8340#M203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general for understand the relation among them you can see&amp;nbsp;&lt;A href="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#a4ab2ff0-d1ec-4c72-8a12-83ecba4d8303.htm"&gt;Reading OMDs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can access OMDs from the Help system's table of contents (TOC)&amp;nbsp;by clicking the Namespace reference node,&amp;nbsp;expanding the node for&amp;nbsp;the applicable assembly, expanding the node for the proper namespace named node,&amp;nbsp;then clicking the applicable&amp;nbsp;&amp;lt;Namespace&amp;gt; Object Model Diagram node&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;for example for geodatabase : &lt;A href="https://desktop.arcgis.com/en/arcobjects/latest/net/GeoDatabaseObjectModel.pdf"&gt;GeoDatabaseObjectModel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/420227_Cattura1.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2018 09:03:02 GMT</pubDate>
    <dc:creator>nicogis</dc:creator>
    <dc:date>2018-08-21T09:03:02Z</dc:date>
    <item>
      <title>Different between IField and IFields</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/different-between-ifield-and-ifields/m-p/8339#M202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a beginner, I am just so confused with&amp;nbsp;IField,&amp;nbsp;&lt;SPAN&gt;IFieldEdit,&amp;nbsp;IFields,&amp;nbsp;IFieldsEdit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Grateful that someone can help this so I can understand it in a logical way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="color: #3366ff;"&gt;Sub Question 1&lt;/SPAN&gt;: What are the relations among them? And what can be the easier way to understand their purpose after their instance creation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="color: #3366ff;"&gt;Sub Question 2&lt;/SPAN&gt;: How to understand the following coding?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 15px;"&gt;// I guess both&amp;nbsp;pFields and&amp;nbsp;pField use&amp;nbsp;FieldsClass() to create an instance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;IFields&amp;nbsp; &amp;nbsp;pFields = new FieldsClass();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;IField&amp;nbsp; &amp;nbsp; pField = new FieldClass();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;// Can I comprehend in this way that&amp;nbsp;pFieldsEdit and&amp;nbsp;pFieldEdit are created to "inherit" members and methods of&amp;nbsp;&lt;SPAN style="background-color: #f6d5d9;"&gt;pFields&amp;nbsp;and&amp;nbsp;pField, respectively?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;IFieldsEdit&amp;nbsp; pFieldsEdit = (IFieldsEdit)pFields;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;IFieldEdit&amp;nbsp; &amp;nbsp; pFieldEdit = (IFieldEdit)pField;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #008000;"&gt;// Some value assignment on&amp;nbsp;pFieldEdit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;pFieldEdit.Name_2 = "Shape";&lt;BR /&gt;pFieldEdit.Type_2 = esriFieldType.esriFieldTypeGeometry;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;// ....&amp;nbsp; some code here ....code related to&amp;nbsp;IField or IFields are shown here....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;pFieldEdit.GeometryDef_2 = pGeometryDef;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #008000;"&gt;// The above code shows nothing to do with&amp;nbsp;pField, but what happened to&amp;nbsp;pField&amp;nbsp;after operations on&amp;nbsp;pFieldEdit ?&lt;/SPAN&gt;&lt;BR /&gt;pFieldsEdit.AddField(pField);&lt;BR /&gt; &lt;BR /&gt;IFeatureClass pFeatureClass;&lt;BR /&gt;pFeatureClass = pFWS.CreateFeatureClass(shapeName, pFields, null, null, esriFeatureType.esriFTSimple, "Shape", "");&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 07:26:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/different-between-ifield-and-ifields/m-p/8339#M202</guid>
      <dc:creator>JustinZHOU</dc:creator>
      <dc:date>2018-08-21T07:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Different between IField and IFields</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/different-between-ifield-and-ifields/m-p/8340#M203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general for understand the relation among them you can see&amp;nbsp;&lt;A href="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#a4ab2ff0-d1ec-4c72-8a12-83ecba4d8303.htm"&gt;Reading OMDs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can access OMDs from the Help system's table of contents (TOC)&amp;nbsp;by clicking the Namespace reference node,&amp;nbsp;expanding the node for&amp;nbsp;the applicable assembly, expanding the node for the proper namespace named node,&amp;nbsp;then clicking the applicable&amp;nbsp;&amp;lt;Namespace&amp;gt; Object Model Diagram node&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;for example for geodatabase : &lt;A href="https://desktop.arcgis.com/en/arcobjects/latest/net/GeoDatabaseObjectModel.pdf"&gt;GeoDatabaseObjectModel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/420227_Cattura1.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 09:03:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/different-between-ifield-and-ifields/m-p/8340#M203</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2018-08-21T09:03:02Z</dc:date>
    </item>
  </channel>
</rss>

