Share via


ChoiceList.Remove method

NOTE: This API is now obsolete.

Deletes the specified vocabulary item from 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 Remove ( _
    oldTerm As String _
)
'Usage
Dim instance As ChoiceList
Dim oldTerm As String

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

Parameters

See also

Reference

ChoiceList class

ChoiceList members

Microsoft.Office.Server.UserProfiles namespace