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