Count: Integer;
The property is read-only.
The Count property returns the number of explanatory variables in the collection.
Collection capacity is the number of elements the collection can contain. The Count property is the number of variables actually contained in the collection.
Capacity always exceeds or equals to the Count property value. If value of the Count property exceeds the capacity when a new style is added to the collection, the capacity automatically increases.
Executing the example requires the Explanatories object of the INonLinearExplanatories type.
Sub UserProc;
Var
Explanatories: INonLinearExplanatories;
Begin
If Explanatories.Count > 0 Then
Explanatories.Clear;
End If;
End Sub UserProc;
After executing the example the collection of explanatory variables is cleared if the collection contains elements.
See also: