<?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 ICursor.set_Value NotImplementedException? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/icursor-set-value-notimplementedexception/m-p/128162#M3357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have some code that I am updating.&amp;nbsp; Originally, I was just reading the data with the 'get_Value' method, but I am now trying to change the data with 'set_Value'.&amp;nbsp; However, when I call the 'set_Value' method I get a "NotImplementedException" which makes absolutely no sense to me.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
ICursor cur = joinTable.Search(qf, false);
using (ComReleaser comReleaser = new ComReleaser())
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; comReleaser.ManageLifetime(cur);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IRow row = null; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ((row = cur.NextRow()) != null)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //do some stuff
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row.set_Value(row.Fields.FindField(myFieldName), myValue); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cur.UpdateRow(row);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So that throws the exception.&amp;nbsp; It's pretty similar to the code under "Using an update cursor" &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000002rs000000" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I change the cursor to "ICursor cur = joinTable.Update(qf, false);" I get the exception at that line.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas or words on the problem would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 07:14:55 GMT</pubDate>
    <dc:creator>JohnStephens</dc:creator>
    <dc:date>2021-12-11T07:14:55Z</dc:date>
    <item>
      <title>ICursor.set_Value NotImplementedException?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/icursor-set-value-notimplementedexception/m-p/128162#M3357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have some code that I am updating.&amp;nbsp; Originally, I was just reading the data with the 'get_Value' method, but I am now trying to change the data with 'set_Value'.&amp;nbsp; However, when I call the 'set_Value' method I get a "NotImplementedException" which makes absolutely no sense to me.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
ICursor cur = joinTable.Search(qf, false);
using (ComReleaser comReleaser = new ComReleaser())
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; comReleaser.ManageLifetime(cur);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IRow row = null; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ((row = cur.NextRow()) != null)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //do some stuff
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row.set_Value(row.Fields.FindField(myFieldName), myValue); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cur.UpdateRow(row);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So that throws the exception.&amp;nbsp; It's pretty similar to the code under "Using an update cursor" &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000002rs000000" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I change the cursor to "ICursor cur = joinTable.Update(qf, false);" I get the exception at that line.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas or words on the problem would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:14:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/icursor-set-value-notimplementedexception/m-p/128162#M3357</guid>
      <dc:creator>JohnStephens</dc:creator>
      <dc:date>2021-12-11T07:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: ICursor.set_Value NotImplementedException?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/icursor-set-value-notimplementedexception/m-p/128163#M3358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm guessing that joinTable is the result of a table join?&amp;nbsp; If so, I'm pretty sure you can't edit that.&amp;nbsp; At least that's how it used to be -you could only edit the original featureclasses/tables.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 17:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/icursor-set-value-notimplementedexception/m-p/128163#M3358</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2013-08-02T17:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: ICursor.set_Value NotImplementedException?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/icursor-set-value-notimplementedexception/m-p/128164#M3359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm guessing that joinTable is the result of a table join?&amp;nbsp; If so, I'm pretty sure you can't edit that.&amp;nbsp; At least that's how it used to be -you could only edit the original featureclasses/tables.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's a real pain in the butt if it's true.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 17:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/icursor-set-value-notimplementedexception/m-p/128164#M3359</guid>
      <dc:creator>JohnStephens</dc:creator>
      <dc:date>2013-08-02T17:52:36Z</dc:date>
    </item>
  </channel>
</rss>

