IsolatedStorage.Set(Text, SecretText [, DataScope]) Method

Version: Available or changed with runtime version 13.0.

Sets the value associated with the specified key.

Syntax

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

Parameters

Key
 Type: Text
The key of the value to set.

Value
 Type: SecretText
The value that will be associated with the specified key.

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

Return Value

[Optional] Ok
 Type: Boolean
true if the value was saved 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