| EditActionDeleteAllFieldValuesValidate Method |
Namespace: Sdl.LanguagePlatform.TranslationMemory.EditScriptsAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic override bool Validate(
IFieldDefinitions fields,
bool throwIfInvalid
)
Public Overrides Function Validate (
fields As IFieldDefinitions,
throwIfInvalid As Boolean
) As Boolean
public:
virtual bool Validate(
IFieldDefinitions^ fields,
bool throwIfInvalid
) override
abstract Validate :
fields : IFieldDefinitions *
throwIfInvalid : bool -> bool
override 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 action is valid, given the provided field definitions, and
false
otherwise.
See Also
Comments