SearchConditionsExtenderValidate Method |
Perform configuration/validation sanity checks on the search conditions.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic static bool Validate(
this SearchConditionsJA scja,
Vault vault,
ValidationResultBase validationResult,
IConfiguration configuration,
string itemType,
string item
)
<ExtensionAttribute>
Public Shared Function Validate (
scja As SearchConditionsJA,
vault As Vault,
validationResult As ValidationResultBase,
configuration As IConfiguration,
itemType As String,
item As String
) As Boolean
public:
[ExtensionAttribute]
static bool Validate(
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:
BooleanTrue 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