ValueTreeRowCollection.IndexOf

Syntax:

IndexOf(<Row>)

Parameters:

<Row> (required)

Type: ValueTreeRow.
Row for which index is needed.

Returned value:

Type: Number.
Index of the indicated row in the collection. If none is found, returns -1.

Description:

Obtains the index of a row in the value tree row collection.

Availability:

Server, thick client, external connection, Mobile application (server).

Example:

CurStringIndex = ContentRows.IndexOf(CurrentRow);

    

1C:Enterprise Developer's Community