StyleLib.IndexOf

Syntax:

IndexOf(<ReferenceToStyle>)

Parameters:

<ReferenceToStyle> (required)

Type: Style.
Reference to collection style, for which an index is needed.

Returned value:

Type: Number.
Index of specified style in collection. If none is found, returns -1.

Description:

Receives index of specified style in the styles collection.

Availability:

Thick client.

Example:

StyleIndex = StyleLib.IndexOf(CurrentStyle);

    

1C:Enterprise Developer's Community