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