IWebStorage Interface |
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.
Namespace: DotNetBrowser.Frames
public interface IWebStorage : IAutoDisposable
The IWebStorage type exposes the following members.
Name | Description | |
---|---|---|
Count |
Gets the number of the key/value pairs in the storage.
| |
IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
Item |
Gets or sets the value associated with the given key. The setter adds the item with the
specified key and
value to the storage, or updates it if the item with the given key already
exists.
| |
Keys |
Gets a list of the web storage keys.
|
Name | Description | |
---|---|---|
Clear |
Removes all the items from the storage.
| |
Contains |
Checks if the specified key is present in the storage.
| |
Remove |
Removes the item with the specified key from the storage. Does nothing if there is no
item with the specified key in the storage.
|
Name | Description | |
---|---|---|
Disposed |
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.) |