| EditScriptValidate Method |
Validates the edit script against the provided field definitions.
Namespace: Sdl.LanguagePlatform.TranslationMemory.EditScriptsAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic bool Validate(
IFieldDefinitions fields,
bool throwIfInvalid
)
Public Function Validate (
fields As IFieldDefinitions,
throwIfInvalid As Boolean
) As Boolean
public:
bool Validate(
IFieldDefinitions^ fields,
bool throwIfInvalid
)
member Validate :
fields : IFieldDefinitions *
throwIfInvalid : bool -> bool
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:
Booleantrue if the edit script is valid, given the provided field definitions. false
otherwise.
See Also
Comments