ChoiceList class

NOTE: This API is now obsolete.

Provides methods to search, remove, and rename vocabulary terms for user profile properties.

System.Object
  Microsoft.Office.Server.UserProfiles.ChoiceList

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

[ObsoleteAttribute("Use CoreProperty TermSet to load the taxonomy for a Profile property.")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ChoiceList

After you define a user profile property with a choice list, you cannot redefine it so it does not have the list, nor can you add a list to a property that is not defined with one.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: