FileUpload.CreateInStream(InStream, TextEncoding) Method

Version: Available or changed with runtime version 13.0.

Creates an InStream object for a file. This enables you to import or read data from the file.

Syntax

 FileUpload.CreateInStream(InStream: InStream, Encoding: TextEncoding)

Parameters

FileUpload
 Type: FileUpload
An instance of the FileUpload data type.

InStream
 Type: InStream
The InStream object type that has been created.

Encoding
 Type: TextEncoding
The encoding that will be used by the stream. The default encoding is MSDos.

See Also

FileUpload Data Type
Getting Started with AL
Developing Extensions