IMsAttributesFormulasList.IndexOf

Syntax

IndexOf(Value: IMsFormulaTransform): Integer;

Parameters

Value - calculation method that should be received.

Description

The IndexOf method returns index of a specified method.

Comments

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

Example

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

See also:

IMsAttributesFormulasList