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
oldTerm
Type: System.StringThe vocabulary item to delete.