ChartOfCharacteristicTypesObject.<Chart of characteristic types name>.BelongsToItem

Syntax:

BelongsToItem(<Item>)

Parameters:

<Item> (required)

Type: ChartOfCharacteristicTypesRef.
"Item" - a group for which element's membership is defined.

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:

Used to define group membership for the characteristic type element 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 ReferenceObject.BelongsToItem(ItemRef) Then
    Message("Belongs");
EndIf
;


    

1C:Enterprise Developer's Community