Microsoft.Win32.RegistryKey.CreateSubKey C# (CSharp) Méthode

CreateSubKey() public méthode

public CreateSubKey ( string subkey ) : Microsoft.Win32.RegistryKey
subkey string
Résultat Microsoft.Win32.RegistryKey
        public Microsoft.Win32.RegistryKey CreateSubKey(string subkey) { throw null; }
        public Microsoft.Win32.RegistryKey CreateSubKey(string subkey, bool writable) { throw null; }

Same methods

RegistryKey::CreateSubKey ( string subkey, bool writable ) : Microsoft.Win32.RegistryKey
RegistryKey::CreateSubKey ( string subkey, bool writable, Microsoft options ) : Microsoft.Win32.RegistryKey

Usage Example

Exemple #1
0
 private void CreateRK(RegistryKey rk)
 {
     rk = rk.CreateSubKey(sProtocol);
     rk.SetValue("URL Protocol", "");
     rk = rk.CreateSubKey("Shell");
     rk = rk.CreateSubKey("Open");
     rk = rk.CreateSubKey("Command");
     rk.SetValue(null,sExe);
 }
All Usage Examples Of Microsoft.Win32.RegistryKey::CreateSubKey