Method Contains
- Namespace
- DotNetBrowser.Frames
- Assembly
- DotNetBrowser.dll
Contains(string)
Checks if the specified key is present in the storage.
bool Contains(string key)
Parameters
key
stringthe key name to check. Can be empty or blank.
Returns
- bool
true
if the storage contains an item with the specifiedkey
, otherwisefalse
.
Exceptions
- ObjectDisposedException
The IWebStorage object has already been disposed.
- WebStorageException
The IWebStorage operation has failed.