/// <summary> /// Remove element /// </summary> /// <param name="node">element</param> public void Remove(DomElement node) { List.Remove(node); }
/// <summary> /// Insert element /// </summary> /// <param name="index">special index</param> /// <param name="element">element</param> public void Insert(int index, DomElement element) { List.Insert(index, element); }
/// <summary> /// Get the index of special element that starts with 0. /// </summary> /// <param name="element">element</param> /// <returns>index , if not find element , then return -1</returns> public int IndexOf(DomElement element) { return(List.IndexOf(element)); }
/// <summary> /// Add element /// </summary> /// <param name="element">element</param> /// <returns>index</returns> public int Add(DomElement element) { return(List.Add(element)); }