Sage Modeling and Simulation Library

EventedList<(Of <(<'T>)>)>..::..AddRange Method

Adds the elements of the specified collection to the end of the List.

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public void AddRange(
	IEnumerable<T> collection
)

Parameters

collection
Type: IEnumerable<(Of <(<'T>)>)>
The collection whose elements should be added to the end of the List. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.

Exceptions


ExceptionCondition
ArgumentNullExceptioncollection is null.