public bool AddValue(string Name, string Key, object Value) { SettingsNode node = GetNode(Name); if (node == null) { return(false); } node.AddOrChangeKeyValue(Key, Value); return(true); }
public string GetValue(string Name, string Key, out SettingsType type) { SettingsNode node = GetNode(Name); if (node == null) { type = SettingsType.Error; return(String.Empty); } string Value = node.GetKeyValue(Key, out type); return(Value); }