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
)
参数
newTerm
类型:System.String要添加的新词汇项。
备注
值不区分大小写。