ElementRepeatIndex Property

The index of the selected instance of this repeatable element.

Syntax

ANSI (Cross Platform)
int GetElementRepeatIndex(int iElementIndex);
int SetElementRepeatIndex(int iElementIndex, int iElementRepeatIndex); Unicode (Windows) INT GetElementRepeatIndex(INT iElementIndex);
INT SetElementRepeatIndex(INT iElementIndex, INT iElementRepeatIndex);
- (int)elementRepeatIndex:(int)elementIndex;
- (void)setElementRepeatIndex:(int)elementIndex:(int)newElementRepeatIndex;
#define PID_VDAREADER_ELEMENTREPEATINDEX 20

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_VDAReader_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_VDAReader_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_VDAReader_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

1

Remarks

The index of the selected instance of this repeatable element. ElementRepeatIndex valid values are from 0 to (ElementRepeatCount - 1).

Setting ElementRepeatIndex will affect the value reported by all other properties.

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 not available at design time.

Data Type

Integer

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