method getValueForKey

value getValueForKey(string key);

Argumente

Zurückgegebener Wert

This method returns a value for a key from the key-value store.
The following example will get the value for a key.
var factory = shell.serviceManager.localStorage.factory;
if (factory)
{
    var keyValueStore = factory.createKeyDatabaseForIdentity("johndoe", "aol.mail");
    if (keyValueStore)
    {
        var ignore = keyValueStore.getValueForKey("spelling.ignoreHtml");
    }
}