[] [Indexer]

Characteristic Description

Icon


Icon for methods

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

  • Parameterindex.
  • Definition—An integer from 0 to the length of the array minus 1 (Count - 1).
  • Data type—Integer.

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