Click or drag to resize

ProcessQueueTInsertRange Method

Inserts the elements of a collection into the ProcessQueueT at the specified index.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.264-beta+d1c3a754a4d50e5c740e530e6875e878ac32de9a
Syntax
public virtual void InsertRange(
	int index,
	IEnumerable<T> collection
)
View Source

Parameters

index  Int32
The zero-based index at which the new elements should be inserted.
collection  IEnumerableT
The collection whose elements should be inserted into the ProcessQueueT. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than 0 -or- index is greater than ProcessQueueT length.
ArgumentNullExceptioncollection is null.
See Also