| ITranslationProviderLanguageDirectionUpdateTranslationUnit Method |
Updates the properties and fields of an existing translation unit if the source and target segments are unchanged or
adds a new translation unit otherwise. If the provider doesn't support adding/updating, the
implementation should return a reasonable ImportResult but should not throw an exception.
The translation unit should be initialized in a previous call to the translation memory, so that the ID property is set to a
valid value.
Namespace: Sdl.LanguagePlatform.TranslationMemoryApiAssembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.3880.0)
SyntaxImportResult UpdateTranslationUnit(
TranslationUnit translationUnit
)
Function UpdateTranslationUnit (
translationUnit As TranslationUnit
) As ImportResult
ImportResult^ UpdateTranslationUnit(
TranslationUnit^ translationUnit
)
abstract UpdateTranslationUnit :
translationUnit : TranslationUnit -> ImportResult
Parameters
- translationUnit
- Type: Sdl.LanguagePlatform.TranslationMemoryTranslationUnit
The translation unit to be updated.
Return Value
Type:
ImportResultThe result of the operation.
See Also
Comments