편집

다음을 통해 공유


Xmlport.Export(Integer, var OutStream [, var Record]) Method

Version: Available or changed with runtime version 1.0.

Creates an XML data stream (XML document) and sends it to a chosen destination.

Syntax

[Ok := ]  Xmlport.Export(Number: Integer, var OutStream: OutStream [, var Record: Record])

Parameters

Number
 Type: Integer
The ID of the XmlPort that you want to run.

OutStream
 Type: OutStream
Where the XmlPort object will write the XML data stream.

[Optional] Record
 Type: Record
The record to use in the XmlPort. Any filters attached to the record will be used. This parameter is optional. If this parameter is omitted, all records in the table are exported.

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

Xmlport Data Type
Get Started with AL
Developing Extensions