CreateSubKey Method

RegistryKey.CreateSubKey Method

 

Creates a new subkey or opens an existing subkey.

Namespace:   Microsoft.Win32
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCreateSubKey(String)

Creates a new subkey or opens an existing subkey for write access.

System_CAPS_pubmethodCreateSubKey(String, Boolean)

Creates a new subkey or opens an existing subkey with the specified access.

Available starting in .NET Framework 4.6

System_CAPS_pubmethodCreateSubKey(String, Boolean, RegistryOptions)

Creates a new subkey or opens an existing subkey with the specified access.

Available starting in .NET Framework 4.6

System_CAPS_pubmethodCreateSubKey(String, RegistryKeyPermissionCheck)

Creates a new subkey or opens an existing subkey for write access, using the specified permission check option.

System_CAPS_pubmethodCreateSubKey(String, RegistryKeyPermissionCheck, RegistryOptions)

Creates a subkey or opens a subkey for write access, using the specified permission check and registry options.

System_CAPS_pubmethodCreateSubKey(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.

System_CAPS_pubmethodCreateSubKey(String, RegistryKeyPermissionCheck, RegistrySecurity)

Creates a new subkey or opens an existing subkey for write access, using the specified permission check option and registry security.

Return to top
Show:
© 2016 Microsoft