TextAnalysisAuthoringModelFactory.TextAuthoringSupportedLanguage 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.
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.