Share via


ChoiceList Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ChoiceList
'Usage
Dim instance As ChoiceList
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ChoiceList

Remarks

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.

Thread Safety

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

See Also

Reference

ChoiceList Members

Microsoft.Office.Server.UserProfiles Namespace