public override string ToString ()
{
return value;
}
public object GetValue(string name, RegistryValueOptions options) { if (IsMarkedForDeletion) { return(null); } if (name == null) { name = string.Empty; } object value = values [name]; ExpandString exp = value as ExpandString; if (exp == null) { return(value); } if ((options & RegistryValueOptions.DoNotExpandEnvironmentNames) == 0) { return(exp.Expand()); } return(exp.ToString()); }