Click or drag to resize

IWebStorageContains Method

Checks if the specified key is present in the storage.

Namespace:  DotNetBrowser.Frames
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.18.0
Syntax
C#
bool Contains(
	string key
)

Parameters

key
Type: SystemString
the key name to check. Can be empty or blank.

Return Value

Type: Boolean
true if the storage contains an item with the specified key, otherwise false.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IWebStorage object has already been disposed.
WebStorageExceptionThe IWebStorage operation has failed.
See Also