| InMemoryTranslationMemory Constructor |
Creates a new bilingual in-memory translation memory.
Namespace: Sdl.LanguagePlatform.TranslationMemoryApiAssembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntaxpublic InMemoryTranslationMemory(
string name,
CultureInfo sourceLanguage,
CultureInfo targetLanguage,
FuzzyIndexes indexes,
BuiltinRecognizers recognizers
)
Public Sub New (
name As String,
sourceLanguage As CultureInfo,
targetLanguage As CultureInfo,
indexes As FuzzyIndexes,
recognizers As BuiltinRecognizers
)
public:
InMemoryTranslationMemory(
String^ name,
CultureInfo^ sourceLanguage,
CultureInfo^ targetLanguage,
FuzzyIndexes indexes,
BuiltinRecognizers recognizers
)
new :
name : string *
sourceLanguage : CultureInfo *
targetLanguage : CultureInfo *
indexes : FuzzyIndexes *
recognizers : BuiltinRecognizers -> InMemoryTranslationMemoryParameters
- name
- Type: SystemString
The translation memory name. - sourceLanguage
- Type: System.GlobalizationCultureInfo
A region-qualified culture, representing the source language. - targetLanguage
- Type: System.GlobalizationCultureInfo
A region-qualified culture, representing the target language. - indexes
- Type: FuzzyIndexes
The set of fuzzy indexes that should be created in this translation memory. - recognizers
- Type: BuiltinRecognizers
Recognizer settings.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown when sourceLanguage or targetLanguage is null or empty. |
| ArgumentException | Thrown when sourceLanguage or targetLanguage are not region-qualified cultures. |
See Also
Comments