ChoiceList.GetAllTerms 方法
请注意:此 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 Function GetAllTerms ( _
refresh As Boolean _
) As String()
用法
Dim instance As ChoiceList
Dim refresh As Boolean
Dim returnValue As String()
returnValue = instance.GetAllTerms(refresh)
[ObsoleteAttribute("Use CoreProperty TermSet to load the taxonomy for a Profile property.")]
public string[] GetAllTerms(
bool refresh
)
参数
refresh
类型:System.Boolean指示是否应从用户配置文件存储刷新项目。
返回值
类型:[]
此选择列表中的所有词汇术语的数组。