Map.Insert

Syntax:

Insert(<Key>, <Value>)

Parameters:

<Key> (required)

Type: Arbitrary.
Key of element being specified.

<Value> (optional)

Type: Arbitrary.
Value of element being specified. If not specified, Undefined will be set.

Description:

You can use it to set a value of correspondence item by key. If an item with the transferred key value exists, its value is replaced; otherwise a new item is added.

Availability:

Thin client, web-client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Example:

ProcessingParameters = New Map;
ProcessingParameters.Insert("Beginning date", BeginDate);
ProcessingParameters.Insert("End date", EndDate);


    

1C:Enterprise Developer's Community