Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Version: Available or changed with runtime version 13.0.
Determines whether the storage contains a value with the specified key.
Syntax
HasValue := IsolatedStorage.Contains(Key: Text [, DataScope: DataScope], var isSecret: Boolean)
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.
isSecret
Type: Boolean
true if the value is stored as a SecretText, otherwise false.
Return Value
HasValue
Type: Boolean
true if a value with the specified key exists in the storage, otherwise false.
Related information
IsolatedStorage Data Type
Getting Started with AL
Developing Extensions