ValidationErrorSegmentNumber Property

This property is the index of the segment where the error occurred.

Syntax

ANSI (Cross Platform)
int GetValidationErrorSegmentNumber(int iValidationErrorIndex);

Unicode (Windows)
INT GetValidationErrorSegmentNumber(INT iValidationErrorIndex);
- (int)validationErrorSegmentNumber:(int)validationErrorIndex;
#define PID_X12VALIDATOR_VALIDATIONERRORSEGMENTNUMBER 13

IPWORKSX12_EXTERNAL void* IPWORKSX12_CALL IPWorksX12_X12Validator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSX12_EXTERNAL int IPWORKSX12_CALL IPWorksX12_X12Validator_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

This property is the index of the segment 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

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks X12 2020 C++ Edition - Version 20.0 [Build 8155]