Press on the image to return to the main documentation page.
KeyValueStore2
List of types:
KeyValueStore
KeyValueStore
KeyValueStore: v2.21
Events:
None
Members:
Class_Globals
As
String
Close
As
String
ContainsKey
(
Key
As
String
)
As
Boolean
DeleteAll
As
String
Get
(
Key
As
String
)
As
Object
GetBitmap
(
Key
As
String
)
As
BitmapWrapper
GetDefault
(
Key
As
String
,
DefaultValue
As
Object
)
As
Object
GetEncrypted
(
Key
As
String
,
Password
As
String
)
As
Object
GetMapAsync
(
Keys
As
List
)
As
ResumableSubWrapper
Initialize
(
Dir
As
String
,
FileName
As
String
)
As
String
IsInitialized
As
Boolean
ListKeys
As
List
Put
(
Key
As
String
,
Value
As
Object
)
As
String
PutBitmap
(
Key
As
String
,
Value
As
BitmapWrapper
)
As
String
PutEncrypted
(
Key
As
String
,
Value
As
Object
,
Password
As
String
)
As
String
PutMapAsync
(
Map
As
Map
)
As
ResumableSubWrapper
Remove
(
Key
As
String
)
As
String
Members description:
Class_Globals
As
String
Close
As
String
Closes the store.
ContainsKey
(
Key
As
String
)
As
Boolean
Tests whether a key is available in the store.
DeleteAll
As
String
Deletes all data from the store.
Get
(
Key
As
String
)
As
Object
GetBitmap
(
Key
As
String
)
As
BitmapWrapper
GetDefault
(
Key
As
String
,
DefaultValue
As
Object
)
As
Object
GetEncrypted
(
Key
As
String
,
Password
As
String
)
As
Object
GetMapAsync
(
Keys
As
List
)
As
ResumableSubWrapper
Asynchronously retrieves the values from the store.
The result is a map with the keys and values.
Wait
For
(
Starter
.
kvs
.
GetMapAsync
(
Array
(
"2 custom types"
,
"time"
)))
Complete
(
Result
As
Map
)
Initialize
(
Dir
As
String
,
FileName
As
String
)
As
String
Initializes the store and sets the store file.
IsInitialized
As
Boolean
Tests whether the object has been initialized.
ListKeys
As
List
Returns a list with all the keys.
Put
(
Key
As
String
,
Value
As
Object
)
As
String
PutBitmap
(
Key
As
String
,
Value
As
BitmapWrapper
)
As
String
PutEncrypted
(
Key
As
String
,
Value
As
Object
,
Password
As
String
)
As
String
PutMapAsync
(
Map
As
Map
)
As
ResumableSubWrapper
Asynchronously inserts the keys and values from the map.
Note that each pair is inserted as a separate item.
Call it with Wait For if you want to wait for the insert to complete.
Remove
(
Key
As
String
)
As
String
Removes the key and value mapped to this key.
Top