Share via


ChoiceList.Add method

NOTE: This API is now obsolete.

Adds a vocabulary item to the choice list.

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

Syntax

'Declaration
<ObsoleteAttribute("Use CoreProperty TermSet to load the taxonomy for a Profile property.")> _
Public Sub Add ( _
    newTerm As String _
)
'Usage
Dim instance As ChoiceList
Dim newTerm As String

instance.Add(newTerm)
[ObsoleteAttribute("Use CoreProperty TermSet to load the taxonomy for a Profile property.")]
public void Add(
    string newTerm
)

Parameters

Remarks

Values are not case-sensitive.

See also

Reference

ChoiceList class

ChoiceList members

Microsoft.Office.Server.UserProfiles namespace