Click or drag to resize

SearchConditionsExtenderValidate Method

Perform configuration/validation sanity checks on the search conditions.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public static bool Validate(
	this SearchConditionsJA scja,
	Vault vault,
	ValidationResultBase validationResult,
	IConfiguration configuration,
	string itemType,
	string item
)

Parameters

scja
Type: MFiles.VAF.Configuration.JsonAdaptorSearchConditionsJA
The search conditions object that is used as "this".
vault
Type: Vault
The vault.
validationResult
Type: MFiles.VAF.ConfigurationValidationResultBase
Validation object used to report the errors.
configuration
Type: MFiles.VAF.ConfigurationIConfiguration
Configuration object used with the report.
itemType
Type: SystemString
Element key used with the report.
item
Type: SystemString
Element value used with the report

Return Value

Type: Boolean
True on all passed, false on validation error.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SearchConditionsJA. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also