NavApp.GetResource(Text, var InStream [, TextEncoding]) Method

Version: Available or changed with runtime version 14.0.

Retrieves a resource that was packaged with this app and loads it into the specified InStream

Syntax

 NavApp.GetResource(ResourceName: Text, var ResourceStream: InStream [, Encoding: TextEncoding])

Parameters

ResourceName
 Type: Text
Name of the resource to retrieve

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

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

NavApp data type
Getting started with AL
Developing extensions