Click or drag to resize
ServerBasedTranslationMemoryLanguageDirectionEditTranslationUnitsWithIterator Method
Applies an EditScript to the translation units, using an iterator.

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
public int EditTranslationUnitsWithIterator(
	EditScript editScript,
	EditUpdateMode updateMode,
	ref RegularIterator iterator
)

Parameters

editScript
Type: EditScript
The edit script to apply
updateMode
Type: EditUpdateMode
The update mode, which can be to update changed translation units in-place or add new translation units to the TM (which is only relevant if segment data has been changed).
iterator
Type: RegularIterator
The iterator to use. Note that a filter condition can be set on the iterator in which case the script will only be applied to those translation units which satisfy the filter condition.

Return Value

Type: Int32
The number of changed or edited translation units

Implements

ITranslationMemoryLanguageDirectionEditTranslationUnitsWithIterator(EditScript, EditUpdateMode, RegularIterator)
Remarks
Note that a filter condition can also be set on the editScript instead of the iterator. Depending on the back-end storage, it may be more efficient to set it on the iterator than on the edit script.
See Also
Community
Edit

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