ApplicationLanguages.GetLanguagesForUser(User) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the language preferences of the specified user. This API is part of support for multi-user apps (MUA).
public:
static IVectorView<Platform::String ^> ^ GetLanguagesForUser(User ^ user);
static IVectorView<winrt::hstring> GetLanguagesForUser(User const& user);
public static IReadOnlyList<string> GetLanguagesForUser(User user);
function getLanguagesForUser(user)
Public Shared Function GetLanguagesForUser (user As User) As IReadOnlyList(Of String)
Parameters
- user
- User
The user to retrieve preferences for.
Returns
A list of normalized BCP-47 language tags representing the language preferences of the specified user.
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|