RegistryHelper.TrySetKeyValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static void TrySetKeyValue(Microsoft::Win32::RegistryHive registryHive, System::String ^ subKeyPath, System::String ^ keyName, System::Object ^ keyValue, Microsoft::Win32::RegistryValueKind keyValueKind);
public static void TrySetKeyValue (Microsoft.Win32.RegistryHive registryHive, string subKeyPath, string keyName, object keyValue, Microsoft.Win32.RegistryValueKind keyValueKind);
static member TrySetKeyValue : Microsoft.Win32.RegistryHive * string * string * obj * Microsoft.Win32.RegistryValueKind -> unit
Public Shared Sub TrySetKeyValue (registryHive As RegistryHive, subKeyPath As String, keyName As String, keyValue As Object, keyValueKind As RegistryValueKind)
Parameters
- registryHive
- RegistryHive
- subKeyPath
- String
- keyName
- String
- keyValue
- Object
- keyValueKind
- RegistryValueKind