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)
'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
)
newTerm
Type: System.StringThe new vocabulary item to add.
Values are not case-sensitive.