Modifier

Partager via


IsolatedStorage.Delete(Text [, DataScope]) Method

Version: Available or changed with runtime version 2.0.

Deletes the value with the specified key from the isolated storage.

Syntax

[Ok := ]  IsolatedStorage.Delete(Key: Text [, DataScope: DataScope])

Parameters

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

[Optional] DataScope
 Type: DataScope
The scope from which to remove the value with the given key. 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 with the given key was successfully deleted from isolated storage, 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