DataCompositionTemplateChartGroupBody.Add

Syntax:

Add(<Type>)

Parameters:

<Type> (required)

Type: Type.
A type of the added item; a collection can contain the following objects: DataCompositionTemplateChartGroupTemplate, DataCompositionTemplateChartGroup, DataCompositionTemplateChartHierarchicalGroup.

Returned value:

Type: DataCompositionTemplateChartGroupTemplate; DataCompositionTemplateChartGroup; DataCompositionTemplateChartHierarchicalGroup.

Description:

Adds a new collection item and returns it; if the type of a new item is not applicable to the given collection, no addition is done. In this case the method returns Undefined.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community