public static void deleteValue ( String keyName , String valueName ) throws RegistryException { try ( Key key = Key . open ( keyName , KEY_WRITE ) ) { checkError ( invoke ( Methods . REG_DELETE_VALUE . get ( ) , key . id , toByteArray ( valueName ) ) ) ; } }
Deletes a value within a key .