Click or drag to resize
FieldValuesLookup Method (String, FieldValueType)
Returns a field value with the specified name and performs a type check on the result.

Throws an error if the types do not match.

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 Lookup(
	string name,
	FieldValueType expectedValueType
)

Parameters

name
Type: SystemString
The field name.
expectedValueType
Type: Sdl.LanguagePlatform.TranslationMemoryFieldValueType
The expected field type.

Return Value

Type: FieldValue
The FieldValue object if exists, otherwise null.
See Also
Community
Edit

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