Click or drag to resize

DataElementAttribute Constructor (String, Type, String)

Initializes a new instance of the DataElementAttribute class.

Namespace:  EdiFabric.Core.Annotations.Validation
Assembly:  EdiFabric (in EdiFabric.dll) Version: 10.1.0.0 (10.1.0.0)
Syntax
public DataElementAttribute(
	string code,
	Type dataType,
	string regex
)

Parameters

code
Type: SystemString
EDI code for the data element.
dataType
Type: SystemType
The type of the data element.
regex
Type: SystemString
The regex to validate the data element if type is AN or A.
See Also