ValidationErrorLine Property
The line number in the EDI document where the error occurred.
Syntax
ANSI (Cross Platform) int GetValidationErrorLine(int iValidationErrorIndex); Unicode (Windows) INT GetValidationErrorLine(INT iValidationErrorIndex);
- (int)validationErrorLine:(int)validationErrorIndex;
#define PID_EDIFACTVALIDATOR_VALIDATIONERRORLINE 10 IPWORKSEDIFACT_EXTERNAL void* IPWORKSEDIFACT_CALL IPWorksEDIFACT_EDIFACTValidator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDIFACT_EXTERNAL int IPWORKSEDIFACT_CALL IPWorksEDIFACT_EDIFACTValidator_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
The line number in the EDI document where the error occurred. This value may be used in conjunction with the ValidationErrorColumn property to determine the exact location within the EDI document where the error occurred.
The ValidationErrorIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ValidationErrorCount property.
This property is read-only and not available at design time.
Data Type
Integer