/// <summary> /// Indicates the existence of an item within the collection /// </summary> /// <param name="value"></param> /// <returns></returns> public bool Contains(AutoCorrectRule value) { // If value is not of type OBJECT_TYPE, this will return false. return(List.Contains(value)); }
/// <summary> /// Removes an item from the collection /// </summary> /// <param name="value"></param> public void Remove(AutoCorrectRule value) { List.Remove(value); }
/// <summary> /// Returns the index of an item within the collection /// </summary> /// <param name="value"></param> /// <returns></returns> public int IndexOf(AutoCorrectRule value) { return(List.IndexOf(value)); }
/// <summary> /// Inserts an item into the collection /// </summary> /// <param name="index"></param> /// <param name="value"></param> public void Insert(int index, AutoCorrectRule value) { List.Insert(index, value); }
/// <summary> /// Adds an item to the collection /// </summary> /// <param name="value"></param> /// <returns></returns> public int Add(AutoCorrectRule value) { return(List.Add(value)); }