ChoiceList.Rename 方法
请注意:此 API 现在已过时。
重命名具有新名称的词汇项。
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
<ObsoleteAttribute("Use CoreProperty TermSet to load the taxonomy for a Profile property.")> _
Public Sub Rename ( _
oldTerm As String, _
newTerm As String _
)
用法
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
)
参数
oldTerm
类型:System.String要重命名的词汇项。
newTerm
类型:System.String词汇项的新名称。