Click or drag to resize
EditScriptValidate Method
Validates the edit script against the provided field definitions.

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 bool Validate(
	IFieldDefinitions fields,
	bool throwIfInvalid
)

Parameters

fields
Type: Sdl.LanguagePlatform.TranslationMemoryIFieldDefinitions
The field definitions to validate against.
throwIfInvalid
Type: SystemBoolean
If true, an exception will be thrown if invalid field names or other issues are encountered. If false, the return value will be set to false without an exception being thrown.

Return Value

Type: Boolean
true if the edit script is valid, given the provided field definitions. false otherwise.
See Also
Community
Edit

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