次の方法で共有


RegistryHelper.TrySetKeyValue Method

Definition

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

Applies to