ChoiceList.Add 方法

请注意:此 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 Add ( _
    newTerm As String _
)
用法
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
)

参数

备注

值不区分大小写。

另请参阅

引用

ChoiceList 类

ChoiceList 成员

Microsoft.Office.Server.UserProfiles 命名空间