| TranslationUnitSetValue Method |
Sets the value of the specified field, which can be a system field or a user field.
Pseudo fields (such as src, trg, soruceplainlength, etc.) can not be set.
Exceptions will be thrown if the field types are incompatible.
Namespace: Sdl.LanguagePlatform.TranslationMemoryAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic void SetValue(
FieldValue fv,
bool addIfMissing
)
Public Sub SetValue (
fv As FieldValue,
addIfMissing As Boolean
)
public:
void SetValue(
FieldValue^ fv,
bool addIfMissing
)
member SetValue :
fv : FieldValue *
addIfMissing : bool -> unit
Parameters
- fv
- Type: Sdl.LanguagePlatform.TranslationMemoryFieldValue
The new field value, including the field name. - addIfMissing
- Type: SystemBoolean
If true, a new field value is added to the current
list of values if no previous value is present.
See Also
Comments