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