ChartOfCharacteristicTypesRef.<Chart of characteristic types name>.Level

Syntax:

Level()

Returned value:

Type: Number.
Level of an element of the chart of characteristic types.

Description:

Obtains the level of an element of the chart of characteristic types.

Availability:

Server, thick client, external connection.

Note:

Applies only for multi-level charts of characteristic types. Please note that the item's level may change, for instance when moved to another group (parent change). An item with no parent has "0" level. If the reference is empty, calling the method returns an exception.

Example:

Message("This element belongs to level " +
          ReferenceToElement.Level());


    

1C:Enterprise Developer's Community