ValidationErrorElementPosition Property
This property holds the position of the element where the error occurred.
Syntax
ANSI (Cross Platform) int GetValidationErrorElementPosition(int iValidationErrorIndex); Unicode (Windows) INT GetValidationErrorElementPosition(INT iValidationErrorIndex);
- (int)validationErrorElementPosition:(int)validationErrorIndex;
#define PID_X12VALIDATOR_VALIDATIONERRORELEMENTPOSITION 8 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 holds the position of the element 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