Click or drag to resize

ValidationExtensionsValidate Method (Object, SyntaxSet, Char)

Validates an EDI item according to its EDI DOM validation attributes.

Namespace:  EdiFabric.Core
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: 1.0.0.0 (9.7.7.0)
Syntax
public static List<SegmentErrorContext> Validate(
	this Object ediItem,
	SyntaxSet syntaxSet = null,
	char decimalPoint = '.'
)

Parameters

ediItem
Type: SystemObject
The object to validate.
syntaxSet (Optional)
Type: EdiFabric.Core.Model.EdiSyntaxSet
The EDI validation syntax set.
decimalPoint (Optional)
Type: SystemChar
The decimal point to use.

Return Value

Type: ListSegmentErrorContext
A list of EDI segment error contexts. The list is empty if the item is valid.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. 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