def GetValueByName(self, name):
pyregf_value = self._pyregf_key.get_value_by_name(name)<EOL>if not pyregf_value:<EOL><INDENT>return None<EOL><DEDENT>return REGFWinRegistryValue(pyregf_value)<EOL>
Retrieves a value by name.

        Value names are not unique and pyregf provides first match for the value.

        Args:
          name (str): name of the value or an empty string for the default value.

        Returns:
          WinRegistryValue: Windows Registry value if a corresponding value was
              found or None if not.