Share via


ChoiceList.Rename method

NOTE: This API is now obsolete.

Renames a vocabulary item with the new name.

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 Rename ( _
    oldTerm As String, _
    newTerm As String _
)
'Usage
Dim instance As ChoiceList
Dim oldTerm As String
Dim newTerm As String

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

Parameters

  • newTerm
    Type: System.String

    The new name for the vocabulary item.

See also

Reference

ChoiceList class

ChoiceList members

Microsoft.Office.Server.UserProfiles namespace