ContactInterestHelper.
Code
CS
Walk-through
TheFind method available through the Contact class’s InterestHelper.RootItems can be used to make our search.
CS
ISoListItem and requires a delegate that defines the element for which we should search to be passed into the method. The method then returns any interest that matches our search interest by using the Equals method.
Next, we move on to setting the interest to true or false. To do this we use the SetItemSelection method available ContactInterestHelper class. The method requires the interest ID and the new selection status (true or false) to be passed.