IsolatedStorage.Get(Text [, DataScope], var Text) Method

Version: Available or changed with runtime version 2.0.

Gets the value associated with the specified key.

Syntax

[Ok := ]  IsolatedStorage.Get(Key: Text [, DataScope: DataScope], var Value: Text)

Parameters

Key
 Type: Text
The key of the value to get. If the specified key is not found an error will be reported.

[Optional] DataScope
 Type: DataScope
The scope of the data to retrieve. If a value is not passed in, the default value DataScope::Module will be used.

Value
 Type: Text
The value that is associated with the specified key.

Return Value

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

IsolatedStorage Data Type
Get Started with AL
Developing Extensions