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

Version: Available or changed with runtime version 13.0.

Gets the value associated with the specified key.

Syntax

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

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: SecretText
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
Getting Started with AL
Developing Extensions