<?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 Serialize a FeatureClass? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34088#M883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've searched everywhere and can't find any information on how to do it other than saying you can't use IXMLSerializer on IFeatureClass because it doesn't implement ISerializable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So ... how can I serialize an IFeatureClass object to XML? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Keith&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 19:44:28 GMT</pubDate>
    <dc:creator>KeithGemeinhart</dc:creator>
    <dc:date>2010-04-13T19:44:28Z</dc:date>
    <item>
      <title>Serialize a FeatureClass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34088#M883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've searched everywhere and can't find any information on how to do it other than saying you can't use IXMLSerializer on IFeatureClass because it doesn't implement ISerializable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So ... how can I serialize an IFeatureClass object to XML? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Keith&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 19:44:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34088#M883</guid>
      <dc:creator>KeithGemeinhart</dc:creator>
      <dc:date>2010-04-13T19:44:28Z</dc:date>
    </item>
    <item>
      <title>Serialize a FeatureClass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34089#M884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Keith,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This article shows how to export a feature class to XML as part of an XML workspace document:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/how_to_export_a_dataset_to_xml/000100000099000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/how_to_export_a_dataset_to_xml/000100000099000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 22:51:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34089#M884</guid>
      <dc:creator>JamesMacKay</dc:creator>
      <dc:date>2010-04-13T22:51:26Z</dc:date>
    </item>
    <item>
      <title>Serialize a FeatureClass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34090#M885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the link. However, this particular feature class that I'm interested in doesn't exist in a geodatabase. It was created in code and I want to save it as XML. IWorkspace is null.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 01:10:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34090#M885</guid>
      <dc:creator>KeithGemeinhart</dc:creator>
      <dc:date>2010-04-15T01:10:14Z</dc:date>
    </item>
    <item>
      <title>Serialize a FeatureClass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34091#M886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perhaps use the RecordSet class.&amp;nbsp; It implements IXmlSerialize, but I've never tried it.&amp;nbsp; Create a new empty recordset, then use IRecordSetInit.Insert to insert features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 13:04:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34091#M886</guid>
      <dc:creator>KirkKuykendall</dc:creator>
      <dc:date>2010-04-15T13:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Serialize a FeatureClass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34092#M887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I finally figured this out. I posted an answer on stackoverflow.com. Feedback on my approach is welcome and encouraged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/2767967/"&gt;http://stackoverflow.com/questions/2767967/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 17:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/serialize-a-featureclass/m-p/34092#M887</guid>
      <dc:creator>KeithGemeinhart</dc:creator>
      <dc:date>2010-05-04T17:53:07Z</dc:date>
    </item>
  </channel>
</rss>

