Click or drag to resize

VDA_N0Validate Method

Validates the attribute data element according to this type.

Namespace:  EdiFabric.Core.Model.Vda
Assembly:  EdiFabric (in EdiFabric.dll) Version: 10.1.0.0 (10.1.0.0)
Syntax
public static DataElementErrorContext Validate(
	string value,
	ValidationContext validationContext,
	string code,
	SyntaxSet regex
)

Parameters

value
Type: SystemString
The value to validate.
validationContext
Type: EdiFabric.Core.Annotations.ValidationValidationContext
The validation context.
code
Type: SystemString
The data element code.
regex
Type: EdiFabric.Core.Model.EdiSyntaxSet
The regex expression to override the generic type validation.

Return Value

Type: DataElementErrorContext
The result as a DataElementErrorContext
See Also