DotNetBrowser Documentation
DotNetBrowser Documentation
DotNetBrowser API Reference
DotNetBrowser.Frames
IWebStorage Interface
IWebStorage Methods
Clear Method
Contains Method
Remove Method
IWebStorage
Contains Method
Checks if the specified key is present in the storage.
Namespace:
DotNetBrowser.Frames
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.3
Syntax
C#
Copy
bool
Contains
(
string
key
)
Parameters
key
Type:
System
String
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
Exception
Condition
ObjectDisposedException
The
IWebStorage
object has already been disposed.
WebStorageException
The
IWebStorage
operation has failed.
See Also
Reference
IWebStorage Interface
DotNetBrowser.Frames Namespace
Copyright © 2024 TeamDev Ltd. All Rights Reserved.