| FileBasedTranslationMemoryLanguageDirectionUpdateTranslationUnit 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.4157.0)
Syntaxpublic ImportResult UpdateTranslationUnit(
TranslationUnit translationUnit
)
Public Function UpdateTranslationUnit (
translationUnit As TranslationUnit
) As ImportResult
public:
virtual ImportResult^ UpdateTranslationUnit(
TranslationUnit^ translationUnit
) sealed
abstract UpdateTranslationUnit :
translationUnit : TranslationUnit -> ImportResult
override UpdateTranslationUnit :
translationUnit : TranslationUnit -> ImportResult Parameters
- translationUnit
- Type: TranslationUnit
The translation unit to be updated.
Return Value
Type:
ImportResultThe result of the operation.
Implements
ITranslationProviderLanguageDirectionUpdateTranslationUnit(TranslationUnit)
See Also
Comments