ValueStorage.Default

Syntax:

New ValueStorage(<Value>, <DataCompressionAlgorithm>)

Parameters:

<Value> (required)

Type: Arbitrary.
The value that is to be placed in storage.

<DataCompressionAlgorithm> (optional)

Type: Deflation.
It assigns the data compression level.
If the parameter is not defined, the compression is not used.

Description:

Creates an ValueStorage object and places the assigned value in it.
The wizard is available only in the thick client, on the server and in external connection.

Example:

MyPicture = New Picture("C:\MyDocuments\Picture1.bmp");
Deflation = New Deflation(6);
PictureStorage = New ValueStorage(MyPicture, Deflation);

See also:

Deflation

    

1C:Enterprise Developer's Community