예제 #1
0
 /// <summary>
 /// Remove element
 /// </summary>
 /// <param name="node">element</param>
 public void Remove(DomElement node)
 {
     List.Remove(node);
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 /// <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));
 }
예제 #4
0
 /// <summary>
 /// Add element
 /// </summary>
 /// <param name="element">element</param>
 /// <returns>index</returns>
 public int Add(DomElement element)
 {
     return(List.Add(element));
 }