Click or drag to resize
FieldValuesLookupOrCreate Method
Searches for a specified field in the current instance. If the field value exists, it will be returned, otherwise a new field value will be created, added to this instance and returned.

Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
public FieldValue LookupOrCreate(
	string name,
	FieldValueType valueType
)

Parameters

name
Type: SystemString
The field name.
valueType
Type: Sdl.LanguagePlatform.TranslationMemoryFieldValueType
The field type.

Return Value

Type: FieldValue
A FieldValue object, never null.
See Also
Community
Edit

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