<?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 Table.FieldDefs throws an exception in C# in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/table-fielddefs-throws-an-exception-in-c/m-p/1509288#M1277</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I'm using FileGDB API for .NET 1.5.3&lt;/P&gt;&lt;P&gt;I cannot get the field definitions of a feature class in an FGDB.&lt;/P&gt;&lt;P&gt;Here's the code sample:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;var geodatabase = Geodatabase.Open("....gdb");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;var table = geodatabase.OpenTable("...");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;var fieldDefs = table.FieldDefs;&amp;nbsp; &amp;nbsp; &lt;FONT color="#FF0000"&gt;&amp;lt;== exception thrown here&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The &lt;FONT color="#0000FF"&gt;FieldInformation&lt;/FONT&gt; property works just fine, but I really need the &lt;FONT color="#0000FF"&gt;FieldDefs&lt;/FONT&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Tried different feature classes and different FGDBs - getting the same exception each time.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Any ideas?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2024 14:35:33 GMT</pubDate>
    <dc:creator>AlexanderGleyzer2</dc:creator>
    <dc:date>2024-07-24T14:35:33Z</dc:date>
    <item>
      <title>Table.FieldDefs throws an exception in C#</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/table-fielddefs-throws-an-exception-in-c/m-p/1509288#M1277</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I'm using FileGDB API for .NET 1.5.3&lt;/P&gt;&lt;P&gt;I cannot get the field definitions of a feature class in an FGDB.&lt;/P&gt;&lt;P&gt;Here's the code sample:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;var geodatabase = Geodatabase.Open("....gdb");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;var table = geodatabase.OpenTable("...");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;var fieldDefs = table.FieldDefs;&amp;nbsp; &amp;nbsp; &lt;FONT color="#FF0000"&gt;&amp;lt;== exception thrown here&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The &lt;FONT color="#0000FF"&gt;FieldInformation&lt;/FONT&gt; property works just fine, but I really need the &lt;FONT color="#0000FF"&gt;FieldDefs&lt;/FONT&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Tried different feature classes and different FGDBs - getting the same exception each time.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Any ideas?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 14:35:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/table-fielddefs-throws-an-exception-in-c/m-p/1509288#M1277</guid>
      <dc:creator>AlexanderGleyzer2</dc:creator>
      <dc:date>2024-07-24T14:35:33Z</dc:date>
    </item>
  </channel>
</rss>

