XDTOFactory.Cast

Syntax:

Cast(<Type>, <Value>)

Parameters:

<Type> (required)

Type: XDTOValueType.
A type into which a value can be converted.

<Value> (required)

Type: XDTODataValue.
A value that should be converted into a value of the specified type.

Description:

Attempts to convert XDTO value of a specific type into XDTO value of this type.

Availability:

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

Note:

Conversion is possible, if the passed value type is a parent on this type, the type is included in the list of types that are members of the type merger, the type is a list item type of this type.

    

1C:Enterprise Developer's Community