Interface IWebStorage
- Namespace
- DotNetBrowser.Frames
- Assembly
- DotNetBrowser.dll
An HTML WebStorage.
Provides access to the session storage or local storage for a particular document on the loaded web page. Allows you to add, modify, or delete the stored items.
public interface IWebStorage : IAutoDisposable
- Inherited Members
Properties
- Count
Gets the number of the key/value pairs in the storage.
- this[string]
Gets or sets the value associated with the given
key
. The setter adds the item with the specifiedkey
andvalue
to the storage, or updates it if the item with the givenkey
already exists.
- Keys
Gets a list of the web storage keys.
Methods
- Clear()
Removes all the items from the storage.
- Contains(string)
Checks if the specified key is present in the storage.
- Remove(string)
Removes the item with the specified
key
from the storage. Does nothing if there is no item with the specifiedkey
in the storage.