| ServerBasedTranslationMemoryLanguageDirectionUpdateTranslationUnits 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)
Syntaxpublic ImportResult[] UpdateTranslationUnits(
TranslationUnit[] translationUnits
)
Public Function UpdateTranslationUnits (
translationUnits As TranslationUnit()
) As ImportResult()
public:
virtual array<ImportResult^>^ UpdateTranslationUnits(
array<TranslationUnit^>^ translationUnits
) sealed
abstract UpdateTranslationUnits :
translationUnits : TranslationUnit[] -> ImportResult[]
override UpdateTranslationUnits :
translationUnits : TranslationUnit[] -> ImportResult[] Parameters
- translationUnits
- Type: Sdl.LanguagePlatform.TranslationMemoryTranslationUnit
The translation unit array to be updated.
Return Value
Type:
ImportResult
An 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.
Implements
ITranslationProviderLanguageDirectionUpdateTranslationUnits(TranslationUnit)
See Also
Comments