Click or drag to resize
ITranslationProviderLanguageDirectionAddTranslationUnitsMasked Method
Adds an array of translation units to the database, but will only add those for which the corresponding mask field is true. If the provider doesn't support adding/updating, the implementation should return a reasonable ImportResult but should not throw an exception.

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.3880.0)
Syntax
ImportResult[] AddTranslationUnitsMasked(
	TranslationUnit[] translationUnits,
	ImportSettings settings,
	bool[] mask
)

Parameters

translationUnits
Type: Sdl.LanguagePlatform.TranslationMemoryTranslationUnit
An arrays of translation units to be added.
settings
Type: Sdl.LanguagePlatform.TranslationMemoryImportSettings
The settings used for this operation.
mask
Type: SystemBoolean
A boolean array with the same cardinality as the TU array, specifying which TUs to add.

Return Value

Type: ImportResult
An array of ImportResult objects, which mirrors the translation unit array. It has the exact same size and contains the status of each add operation for each particular translation unit with the same index within the array.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments