/// <summary> /// Removes an element from collection /// </summary> /// <param name="value">DataMap object to remove</param> public void Remove(DataMap value) { List.Remove(value); }
/// <summary> /// Inserts an element at given position /// </summary> /// <param name="index">Position (zero-based) to insert new element</param> /// <param name="value">DataMap object to insert</param> public void Insert(int index, DataMap value) { List.Insert(index, value); }
/// <summary> /// Adds a new DataMap to collection /// </summary> /// <param name="value">DataMap object to add</param> /// <returns></returns> public int Add(DataMap value) { return(List.Add(value)); }
/// <summary> /// Retrieves the position of a element /// </summary> /// <param name="value">Element of which position is desired</param> /// <returns>Position of value (zero-based)</returns> public int IndexOf(DataMap value) { return(List.IndexOf(value)); }
/// <summary> /// Checks if an object is contained whitin the collection /// </summary> /// <param name="value">DataMap object to check</param> /// <returns>Returns <code>true</code> if element is in the collection and <code>false</code> otherwise</returns> public bool Contains(DataMap value) { return(List.Contains(value)); }