Click or drag to resize

MetadataStructureValidatorIsValid Method (Vault, IConfiguration, MFClassAttribute, Object, Object, ValidationResultBase)

Check the validity of reference in the vault.

Namespace:  MFiles.VAF.Configuration
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
protected virtual bool IsValid(
	Vault vault,
	IConfiguration configuration,
	MFClassAttribute attribute,
	Object reference,
	Object parent,
	ValidationResultBase validationResult
)

Parameters

vault
Type: Vault
Vault in which to check.
configuration
Type: MFiles.VAF.ConfigurationIConfiguration
The configuration that is being validated.
attribute
Type: MFiles.VAF.ConfigurationMFClassAttribute
The attribute that contains the validation rules.
reference
Type: SystemObject
Reference to object to validate.
parent
Type: SystemObject
Parent of the object reference. Can be null.
validationResult
Type: MFiles.VAF.ConfigurationValidationResultBase
The validation state that receives the validation results.

Return Value

Type: Boolean
Returns true if the validation succeeded.
See Also