Xmlport.ImportFile([Boolean]) Method

Version: Available or changed with runtime version 1.0.

Gets or sets the ImportFile property.

Syntax

[ImportFile := ]  Xmlport.ImportFile([ImportFile: Boolean])

Note

This method can be invoked using property access syntax.

Parameters

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

[Optional] ImportFile
 Type: Boolean
The new value of the ImportFile property. If the XmlPort is designed for export only and the new value of this property is true, an XmlPortExportDirectionException is thrown. If the XmlPort is designed for import only and the new value of this property false, an XmlPortImportDirectionException is thrown.

Return Value

[Optional] ImportFile
 Type: Boolean
The current value of the ImportFile property.

See Also

Xmlport Data Type
Get Started with AL
Developing Extensions