ValidationErrorCollection.AddRange(ICollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the set of specified elements to the end of the collection.
public void AddRange (System.Collections.ICollection items);
member this.AddRange : System.Collections.ICollection -> unit
Public Sub AddRange (items As ICollection)
Parameters
- items
- ICollection
The ICollection whose elements should be added to the collection.
Exceptions
- The specified collection is a null reference (Nothing in Visual Basic).
- The specified collection has one or more items that are null reference (Nothing in Visual Basic).
- The specified collection has items that are duplicate.
- The specified collection has one or more items that already esist in the collection.