ChoiceList.GetAllTerms Method
NOTE: This API is now obsolete.
Gets all vocabulary terms in this choice list. Optionally refreshes the list from the user profile store.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
'Declaration
<ObsoleteAttribute("Use CoreProperty TermSet to load the taxonomy for a Profile property.")> _
Public Function GetAllTerms ( _
refresh As Boolean _
) As String()
'Usage
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
Type: System.BooleanIndicates whether the items should be refreshed from the user profile store.
Type: []
An array of all vocabulary terms in this choice list.