Stores a Value in the Windows Registry given a hive, root key and key.

If the value is a zero-length string the Key is deleted.

Syntax

ISWinRegistry.SetValueWithKind(hive, rootKey, key, value, valueKind)

Parameters

NameTypeOptionalByRefDescription
hive iseWindowsRegistryHive The hive.
rootKey String
key String The key.
value Object The value to store under the Windows Registry.
valueKind Microsoft.Win32.RegistryValueKind

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISWinRegistry
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0