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