[] [Indexer]
[] [Indexer]
Characteristic |
Description |
---|---|
Icon |
|
Availability |
Repeating study events, repeating forms, and repeating sections. |
Return type and description |
Indexer method. Returns an instance of a repeating study object. |
Syntax |
NameOfStudyObject[index] |
Parameters |
|
Example |
If form RefName is ConMed, the following example returns the first instance of the repeating form: ConMed[0] |
Purpose |
This method is useful when you are working with an array of values. For example, use the following expression to determine the date on which the first adverse event was entered: this.frmAE[0].itmDateOfOnset.Value
To determine the date on which the last adverse event was entered, use the following expression: this.frmAE[this.frmAE.Count - 1].itmDateOfOnset.Value |