TextToSpeech.GetLocalesAsync 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.
Gets a list of languages supported by text-to-speech.
public:
static System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::Maui::Media::Locale ^> ^> ^ GetLocalesAsync();
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Maui.Media.Locale>> GetLocalesAsync ();
static member GetLocalesAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Maui.Media.Locale>>
Public Shared Function GetLocalesAsync () As Task(Of IEnumerable(Of Locale))
Returns
A collection of Locale objects with languages supported by text-to-speech on this device.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.