AITranslationTextModelFactory.TargetDictionaryLanguage 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 TargetDictionaryLanguage.
public static Azure.AI.Translation.Text.TargetDictionaryLanguage TargetDictionaryLanguage (string name = default, string nativeName = default, Azure.AI.Translation.Text.LanguageDirectionality directionality = Azure.AI.Translation.Text.LanguageDirectionality.LeftToRight, string code = default);
static member TargetDictionaryLanguage : string * string * Azure.AI.Translation.Text.LanguageDirectionality * string -> Azure.AI.Translation.Text.TargetDictionaryLanguage
Public Shared Function TargetDictionaryLanguage (Optional name As String = Nothing, Optional nativeName As String = Nothing, Optional directionality As LanguageDirectionality = Azure.AI.Translation.Text.LanguageDirectionality.LeftToRight, Optional code As String = Nothing) As TargetDictionaryLanguage
Parameters
- name
- String
Display name of the language in the locale requested via Accept-Language header.
- nativeName
- String
Display name of the language in the locale native for this language.
- directionality
- LanguageDirectionality
Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.
- code
- String
Language code identifying the target language.
Returns
A new TargetDictionaryLanguage instance for mocking.
Applies to
Azure SDK for .NET