I have a ListItem with TaxonomyField which have some value in it (some term of course). This TaxonomyField is single value only. So now I want to set it to empty, just as it was from the beginning but I can't find the way to do it. What I've tried so far:
listItem.ParseAndSetFieldValue(taxField.InternalName, String.Empty);
It doesn't throw any exception on ClientContext.Update(), but field value for listItems stays unchanged.
taxField.SetFieldValueByValue(listItem, new TaxonomyFieldValue());
This gives me "The method or operation is not implemented." Exception
listItem["taxField.InternalName"]=string.Empty;
This also runs without exceptions, but value stays the same. BTW do use such approach, use ParseAndSetFieldValue instead.
So could any one suggest something that would done a trick? Thanks in advance!