編輯

共用方式為


OutStream Data type

Version: Available or changed with runtime version 1.0.

Is a generic stream object that you can use to write to files and BLOBs.

Instance methods

The following methods are available on instances of the OutStream data type.

Method name Description
Write(Variant [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Boolean [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Byte [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Char [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Integer [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(BigInteger [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Decimal [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Guid [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Text [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Code [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Label [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(TextConst [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(BigText [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Date [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Time [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(DateTime [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(DateFormula [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Duration [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Option [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Record [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(RecordId [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
Write(Any [, Integer]) Writes a specified number of bytes to the stream. Data is written in binary format.
WriteText([Text] [, Integer]) Writes text to an OutStream object.

Get Started with AL
Developing Extensions