Share via


RegistryHelper.TryCreateSubKey(RegistryKey, String, RegistryKey) Method

Definition

public:
 static bool TryCreateSubKey(Microsoft::Win32::RegistryKey ^ parentSubKey, System::String ^ subKeyName, [Runtime::InteropServices::Out] Microsoft::Win32::RegistryKey ^ % registryKey);
public static bool TryCreateSubKey (Microsoft.Win32.RegistryKey parentSubKey, string subKeyName, out Microsoft.Win32.RegistryKey registryKey);
static member TryCreateSubKey : Microsoft.Win32.RegistryKey * string * RegistryKey -> bool
Public Shared Function TryCreateSubKey (parentSubKey As RegistryKey, subKeyName As String, ByRef registryKey As RegistryKey) As Boolean

Parameters

parentSubKey
RegistryKey
subKeyName
String
registryKey
RegistryKey

Returns

Applies to