Structure.Based on keys and values

Syntax:

New Structure(<Keys>, <Values>)

Parameters:

<Keys> (optional)

Type: Arbitrary.
If the parameter type is String, the property contains a list of properties, separated by commas.
Otherwise, the parameter values is converted to a string and is used as a list of names, created in the structure of properties, separated by commas.
If the string presentation cannot be provided for the passes parameter type, the exception is raised.

<Values> (optional)

Type: Arbitrary.
Structure elements values.

Description:

You can use it to create a structure that contains keys values of which are transferred in the builder parameter. If structure items keys are set in the first parameter, next parameters can contain values of these items in the order in which they are placed in the string of the first parameter.

Example:

Filter = New Structure("Date, Client");

    

1C:Enterprise Developer's Community