/// <summary> /// 删除元素 /// </summary> /// <param name="element">元素</param> public void Remove(ConfigElement element) { if (BaseIndexOf(element) >= 0) BaseRemove(element.Key); }
/// <summary> /// 添加元素 /// </summary> /// <param name="element">元素</param> public void Add(ConfigElement element) { BaseAdd(element); }
/// <summary> /// 元素索引 /// </summary> /// <param name="element">元素</param> /// <returns>元素位置</returns> public int IndexOf(ConfigElement element) { return BaseIndexOf(element); }