IsolatedStorage.Contains(Text [, DataScope]) Method

Version: Available or changed with runtime version 2.0.

Determines whether the storage contains a value with the specified key.

Syntax

HasValue :=   IsolatedStorage.Contains(Key: Text [, DataScope: DataScope])

Parameters

Key
 Type: Text
The key to locate in the storage.

[Optional] DataScope
 Type: DataScope
The scope in which to check for the existence of a value with the given key. If a value is not passed in, the default value DataScope::Module will be used.

Return Value

HasValue
 Type: Boolean
true if a value with the specified key exists in the storage, otherwise false.

See Also

IsolatedStorage Data Type
Get Started with AL
Developing Extensions