I want to modify a taxonomic user profile property in Sharepoint 2010. Just as an example, let's say I wanted to modify the Interests property (aka SPS-Interests, or PropertyConstants.Interests). I tried setting the property value with the semicolon-delimited string, like this:
var property = profile[PropertyConstants.Interests];
if (property != null)
{
property.Value = "sharepoint; stackoverflow; scotch";
}
But that throws an exception.