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