| ITranslationProviderLanguageDirectionUpdateTranslationUnits Method |
Updates the properties and fields of an array of existing translation units if the source and target segments are unchanged or
adds new translation units otherwise. If the provider doesn't support adding/updating, the
implementation should return a reasonable ImportResult but should not throw an exception.
The translation units should be initialized in previous calls to the translation memory, so that their ID properties
are set to valid values.
Namespace: Sdl.LanguagePlatform.TranslationMemoryApiAssembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.3880.0)
SyntaxImportResult[] UpdateTranslationUnits(
TranslationUnit[] translationUnits
)
Function UpdateTranslationUnits (
translationUnits As TranslationUnit()
) As ImportResult()
array<ImportResult^>^ UpdateTranslationUnits(
array<TranslationUnit^>^ translationUnits
)
abstract UpdateTranslationUnits :
translationUnits : TranslationUnit[] -> ImportResult[]
Parameters
- translationUnits
- Type: Sdl.LanguagePlatform.TranslationMemoryTranslationUnit
The translation unit array to be updated.
Return Value
Type:
ImportResultAn array of results which mirrors the translation unit array. It has the exact same size and contains the
results for each translation unit with the same index within the translation unit array.
See Also
Comments