IsolatedStorage.Contains 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: String [, DataScope: DataScope])

Parameters

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

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