ElementRepeatCount Property

The number of times this element is repeated in the in the segment.

Syntax

ANSI (Cross Platform)
int GetElementRepeatCount(int iElementIndex);

Unicode (Windows)
INT GetElementRepeatCount(INT iElementIndex);
- (int)elementRepeatCount:(int)elementIndex;
#define PID_X12READER_ELEMENTREPEATCOUNT 19

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

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

Default Value

1

Remarks

The number of times this element is repeated in the in the segment. If the element is not repeated this will return 0.

To access the repeated element values set ElementRepeatIndex.

The ElementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ElementCount 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]