你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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