IStorage Interface
Contents
[
Hide
]IStorage interface
This interface of the Web Storage API provides access to a particular domain’s session or local storage. See Web Storage specification: https://html.spec.whatwg.org/multipage/webstorage.html#webstorage
public interface IStorage
Properties
Name | Description |
---|---|
Length { get; } | Returns the number of key/value pairs. |
Methods
Name | Description |
---|---|
Clear() | Removes all key/value pairs, if there are any. |
GetItem(string) | Returns the current value associated with the given key, or null if the given key does not exist. |
Key(long) | Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs. |
RemoveItem(string) | Removes the key/value pair with the given key, if a key/value pair with the given key exists. |
SetItem(string, string) | Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously. |
See Also
- namespace Aspose.Svg.Dom
- assembly Aspose.SVG