ProcessQueueTInsertRange Method
Inserts the elements of a collection into the
ProcessQueueT at the specified index.
Namespace: Gemstone.Threading.CollectionsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.156 -- Release Build+d9c3c9ff423cb81bc351c70c72797c5bc686ec2e
public virtual void InsertRange(
int index,
IEnumerable<T> collection
)
Public Overridable Sub InsertRange (
index As Integer,
collection As IEnumerable(Of T)
)
public:
virtual void InsertRange(
int index,
IEnumerable<T>^ collection
)
function InsertRange(index, collection);
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.
| ArgumentOutOfRangeException | index is less than 0 -or- index is greater than ProcessQueueT length. |
| ArgumentNullException | collection is null. |