DataCompositionTemplateDataSets.Add

Syntax:

Add(<Type>)

Parameters:

<Type> (required)

Type: Type.
Type of added element, collection elements can be DataCompositionSchemaDataSetQuery DataCompositionSchemaDataSetObject DataCompositionSchemaDataSetUnion.

Returned value:

Type: DataCompositionTemplateDataSetQuery; DataCompositionTemplateDataSetObject; DataCompositionTemplateDataSetUnion.

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