RegistryKey.CreateSubKey Method

Creates a new subkey or opens an existing subkey.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method CreateSubKey(String) Creates a new subkey or opens an existing subkey for write access.
Public method CreateSubKey(String, RegistryKeyPermissionCheck) Creates a new subkey or opens an existing subkey for write access, using the specified permission check option.
Public method CreateSubKey(String, Boolean) Creates a new subkey or opens an existing subkey with the specified access. Available starting in .NET Framework 2015
Public method CreateSubKey(String, RegistryKeyPermissionCheck, RegistryOptions) Creates a subkey or opens a subkey for write access, using the specified permission check and registry options.
Public method CreateSubKey(String, RegistryKeyPermissionCheck, RegistrySecurity) Creates a new subkey or opens an existing subkey for write access, using the specified permission check option and registry security.
Public method CreateSubKey(String, Boolean, RegistryOptions) Creates a new subkey or opens an existing subkey with the specified access. Available starting in .NET Framework 2015
Public method CreateSubKey(String, RegistryKeyPermissionCheck, RegistryOptions, RegistrySecurity) Creates a subkey or opens a subkey for write access, using the specified permission check option, registry option, and registry security.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft