Item(Index: Integer): INonLinearExplanatory;
Index. Variable index in the collection.
The property is read-only.
The Item method returns the variable from the collection by its index.
The Item method gives access to a specific variable in the collection. The Index parameter value must be a non-negative number that is less than the value of the INonLinearExplanatories.Count property. The index of the first variable in the collection is 0, the last is INonLinearExplanatories.Count - 1. Index numbering is continuous.
Executing the example requires the Explanatories object of the INonLinearExplanatories type.
Sub UserProc;
Var
Explanatories: INonLinearExplanatories;
Begin
If Explanatories.Count > 0 Then
Debug.WriteLine(Explanatories.Item(0).VariableName);
End If;
End Sub UserProc;
After executing the example the console window displays name in the formula for the first element if the collection of the explanatory variables contains elements.
See also: