Enum Mode
Describes the different modes how field values can be changed.
Namespace: SdlSdl.LanguagePlatformTranslationMemoryEditScripts
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public enum Mode
Fields
Name | Description |
---|---|
Add | 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. |
Assign | 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. |
Substract | 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. |