Editar

Compartir vía


File.IsPathTemporary(Text) Method

Version: Available or changed with runtime version 2.0.

Validates whether the given path is located in the current users temporary folder within the current service.

Note

This method is supported only in Business Central on-premises.

Syntax

[Ok := ]  File.IsPathTemporary(Name: Text)

Note

This method can be invoked without specifying the data type name.

Parameters

Name
 Type: Text
The name of the file, including the path.

Return Value

[Optional] Ok
 Type: Boolean
true if the name point to a location is the users temporary folder within the current service; false otherwise. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

File Data Type
Get Started with AL
Developing Extensions