ChartOfCharacteristicTypesRef.<Chart of characteristic types name>.BelongsToItem

Syntax:

BelongsToItem(<Item>)

Parameters:

<Item> (required)

Type: ChartOfCharacteristicTypesRef.
A group (or an element for a hierarchical chart of characteristic types with the hierarchy of elements) to which the element belongs.

Returned value:

Type: Boolean.
True indicates the item is subordinated to a group; otherwise it is False.
If the item itself is used as parameter, then False.

Description:

Determines group membership for the element of the chart of characteristic types across all hierarchy levels.

Availability:

Server, thick client, external connection.

Note:

Determines an item's subordination to a group at the point at which the method was invoked, by consecutively reading all higher level items.

Example:

If Object.BelongsToItem(ItemRef) Then
    Message("Belongs");
EndIf
;


    

1C:Enterprise Developer's Community