Share via


TextAnalysisAuthoringModelFactory.TextAuthoringSupportedLanguage Method

Definition

Initializes a new instance of TextAuthoringSupportedLanguage.

public static Azure.AI.Language.Text.Authoring.TextAuthoringSupportedLanguage TextAuthoringSupportedLanguage(string languageName = default, string languageCode = default);
static member TextAuthoringSupportedLanguage : string * string -> Azure.AI.Language.Text.Authoring.TextAuthoringSupportedLanguage
Public Shared Function TextAuthoringSupportedLanguage (Optional languageName As String = Nothing, Optional languageCode As String = Nothing) As TextAuthoringSupportedLanguage

Parameters

languageName
String

The language name.

languageCode
String

The language code. This is BCP-47 representation of a language. For example, "en" for English, "en-gb" for English (UK), "es" for Spanish etc.

Returns

A new TextAuthoringSupportedLanguage instance for mocking.

Applies to