/// <summary> /// Determines whether a specfic GroupByTerm value is in this GroupByTermCollection. /// </summary> /// <param name="value"> /// The GroupByTerm value to locate in this GroupByTermCollection. /// </param> /// <returns> /// true if value is found in this GroupByTermCollection; /// false otherwise. /// </returns> public virtual bool Contains(GroupByTerm value) { return(List.Contains(value)); }
/// <summary> /// Adds an instance of type GroupByTerm to the end of this GroupByTermCollection. /// </summary> /// <param name="value"> /// The GroupByTerm to be added to the end of this GroupByTermCollection. /// </param> public virtual void Add(GroupByTerm value) { List.Add(value); }
/// <summary> /// Inserts an element into the GroupByTermCollection at the specified index /// </summary> /// <param name="index"> /// The index at which the GroupByTerm is to be inserted. /// </param> /// <param name="value"> /// The GroupByTerm to insert. /// </param> public virtual void Insert(int index, GroupByTerm value) { List.Insert(index, value); }
/// <summary> /// Removes the first occurrence of a specific GroupByTerm from this GroupByTermCollection. /// </summary> /// <param name="value"> /// The GroupByTerm value to remove from this GroupByTermCollection. /// </param> public virtual void Remove(GroupByTerm value) { List.Remove(value); }
/// <summary> /// Return the zero-based index of the first occurrence of a specific value /// in this GroupByTermCollection /// </summary> /// <param name="value"> /// The GroupByTerm value to locate in the GroupByTermCollection. /// </param> /// <returns> /// The zero-based index of the first occurrence of the _ELEMENT value if found; /// -1 otherwise. /// </returns> public virtual int IndexOf(GroupByTerm value) { return(List.IndexOf(value)); }