protected bool Equals(IniKey other) { return(string.Equals(Name, other.Name) && string.Equals(Value, other.Value) && string.Equals(Section, other.Section)); }
/// <summary> /// Removes a key in the specified section with the specified value and key name. /// </summary> /// <returns>Returns true, if a pair has been found and removed.</returns> /// <exception cref="NoFileLoadedException"></exception> public bool RemoveKey(IniKey key) { return(RemoveKey(key.Section, key.Name, key.Value)); }