/// <summary> /// Adds the elements of an array to the end of this SelectColumnCollection. /// </summary> /// <param name="items"> /// The array whose elements are to be added to the end of this SelectColumnCollection. /// </param> public virtual void AddRange(SelectColumn[] items) { foreach (SelectColumn item in items) { List.Add(item); } }
/// <summary> /// Determines whether a specfic SelectColumn value is in this SelectColumnCollection. /// </summary> /// <param name="value"> /// The SelectColumn value to locate in this SelectColumnCollection. /// </param> /// <returns> /// true if value is found in this SelectColumnCollection; /// false otherwise. /// </returns> public virtual bool Contains(SelectColumn value) { return List.Contains(value); }
/// <summary> /// Adds an instance of type SelectColumn to the end of this SelectColumnCollection. /// </summary> /// <param name="value"> /// The SelectColumn to be added to the end of this SelectColumnCollection. /// </param> public virtual void Add(SelectColumn value) { List.Add(value); }
/// <summary> /// Removes the first occurrence of a specific SelectColumn from this SelectColumnCollection. /// </summary> /// <param name="value"> /// The SelectColumn value to remove from this SelectColumnCollection. /// </param> public virtual void Remove(SelectColumn value) { List.Remove(value); }
/// <summary> /// Initializes a new instance of the SelectColumnCollection class, containing elements /// copied from an array. /// </summary> /// <param name="items"> /// The array whose elements are to be added to the new SelectColumnCollection. /// </param> public SelectColumnCollection(SelectColumn[] items) { AddRange(items); }
/// <summary> /// Return the zero-based index of the first occurrence of a specific value /// in this SelectColumnCollection /// </summary> /// <param name="value"> /// The SelectColumn value to locate in the SelectColumnCollection. /// </param> /// <returns> /// The zero-based index of the first occurrence of the _ELEMENT value if found; /// -1 otherwise. /// </returns> public virtual int IndexOf(SelectColumn value) { return List.IndexOf(value); }
/// <summary> /// Inserts an element into the SelectColumnCollection at the specified index /// </summary> /// <param name="index"> /// The index at which the SelectColumn is to be inserted. /// </param> /// <param name="value"> /// The SelectColumn to insert. /// </param> public virtual void Insert(int index, SelectColumn value) { List.Insert(index, value); }
/// <summary> /// Determines whether a specfic SelectColumn value is in this SelectColumnCollection. /// </summary> /// <param name="value"> /// The SelectColumn value to locate in this SelectColumnCollection. /// </param> /// <returns> /// true if value is found in this SelectColumnCollection; /// false otherwise. /// </returns> public virtual bool Contains(SelectColumn value) { return(List.Contains(value)); }
/// <summary> /// Adds an instance of type SelectColumn to the end of this SelectColumnCollection. /// </summary> /// <param name="value"> /// The SelectColumn to be added to the end of this SelectColumnCollection. /// </param> public virtual void Add(SelectColumn value) { List.Add(value); }
/// <summary> /// Removes the first occurrence of a specific SelectColumn from this SelectColumnCollection. /// </summary> /// <param name="value"> /// The SelectColumn value to remove from this SelectColumnCollection. /// </param> public virtual void Remove(SelectColumn value) { List.Remove(value); }
/// <summary> /// Inserts an element into the SelectColumnCollection at the specified index /// </summary> /// <param name="index"> /// The index at which the SelectColumn is to be inserted. /// </param> /// <param name="value"> /// The SelectColumn to insert. /// </param> public virtual void Insert(int index, SelectColumn value) { List.Insert(index, value); }
/// <summary> /// Return the zero-based index of the first occurrence of a specific value /// in this SelectColumnCollection /// </summary> /// <param name="value"> /// The SelectColumn value to locate in the SelectColumnCollection. /// </param> /// <returns> /// The zero-based index of the first occurrence of the _ELEMENT value if found; /// -1 otherwise. /// </returns> public virtual int IndexOf(SelectColumn value) { return(List.IndexOf(value)); }