IMsAttributesFormulasList.IndexOf

Syntax

IndexOf(Value: IMsFormulaTransform): Integer;

Parameters

Value - calculation method that must be obtained.

Description

The IndexOf method returns index of the specified method.

Comments

Direct search is executed at the entire collection, starting from the first element and finishing with the last one. If the required element is found, the method returns the index of the first appearance that is counted from zero Value to the range of collection elements; otherwise the method returns -1.

Example

The method use is given in the example for IMsAttributesFormulasList.FindByAttributeId.

See also:

IMsAttributesFormulasList