Share via


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)

Syntax

'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
)

Parameters

  • refresh
    Type: System.Boolean

    Indicates whether the items should be refreshed from the user profile store.

Return value

Type: []
An array of all vocabulary terms in this choice list.

See also

Reference

ChoiceList class

ChoiceList members

Microsoft.Office.Server.UserProfiles namespace