11.1.10 AsFile Method
Writes the binary data to a file specified by the provided path.
If no path is provided, a temporary file will be created and the path returned.
Input Arguments
|
Output Arguments
|
Return Value
The path of the file. If the Path argument is provided, the same value will be returned. If the Path argument is not provided, the path to the temporary file will be returned.
Examples
Write to a temporary file and store to a BLOB field.
Define_Com Class(#XPRIM_Binary) Name(#Data)
. . .
#STD_BLOB := #Data.AsFile