Click or drag to resize
Mode Enumeration
Describes the different modes how field values can be changed.

Namespace: Sdl.LanguagePlatform.TranslationMemory.EditScripts
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
public enum Mode
Members
  Member nameValueDescription
Assign0 The value is assigned as-is to the field. If no value exists yet for the given field, a new field value will be added. This mode is valid for all field types.
Add1

The value is added to the current field value. If no value is present yet, the value will be assigned.

For multi-valued fields, the existing field values will be joined (set union) with the new value. For Date and Number fields, the value will be added to the existing value. Single-valued text and picklist fields will always be assigned.

Substract2 The value is substracted from the current field value. If no value is present yet, nothing will happen. For multi-valued fields, the value will be set-removed from the existing value. For Date and Number fields, the value will be substracted from the existing value. The mode is invalid for single-valued text and picklist fields.
See Also
Community
Edit

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