| FilterExpressionValidate Method |
Validates the filter expression against the provided field definitions.
Namespace: Sdl.LanguagePlatform.TranslationMemoryAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic abstract bool Validate(
IFieldDefinitions fields,
bool throwIfInvalid
)
Public MustOverride Function Validate (
fields As IFieldDefinitions,
throwIfInvalid As Boolean
) As Boolean
public:
virtual bool Validate(
IFieldDefinitions^ fields,
bool throwIfInvalid
) abstract
abstract 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
are encountered. If false, the return value will be set to false without an exception
being thrown.
Return Value
Type:
Booleantrue if the filter expression is valid, given the provided field definitions. false
otherwise.
See Also
Comments