StorageClientSetSharedStorageEntryAsync Method |
Version 112.3.0
Sets entry with `key` and `value` for a given origin's shared storage.
Namespace:
CefSharp.DevTools.Storage
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 112.3.0.0
Syntax public Task<DevToolsMethodResponse> SetSharedStorageEntryAsync(
string ownerOrigin,
string key,
string value,
bool? ignoreIfPresent = null
)
public:
Task<DevToolsMethodResponse^>^ SetSharedStorageEntryAsync(
String^ ownerOrigin,
String^ key,
String^ value,
Nullable<bool> ignoreIfPresent = nullptr
)
Parameters
- ownerOrigin
- Type: SystemString
ownerOrigin - key
- Type: SystemString
key - value
- Type: SystemString
value - ignoreIfPresent (Optional)
- Type: SystemNullableBoolean
If `ignoreIfPresent` is included and true, then only sets the entry if`key` doesn't already exist.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also