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

Namespace:  Classless.Hasher
Assembly:  Classless.Hasher (in Classless.Hasher.dll) Version: 0.8.3649.33599

Syntax

C#
public void InsertRange(
	int index,
	IEnumerable<HashAlgorithm> collection
)
Visual Basic (Declaration)
Public Sub InsertRange ( _
	index As Integer, _
	collection As IEnumerable(Of HashAlgorithm) _
)
Visual C++
public:
void InsertRange(
	int index, 
	IEnumerable<HashAlgorithm^>^ collection
)

Parameters

index
Type: System..::.Int32
The zero-based index at which item should be inserted.
collection
Type: System.Collections.Generic..::.IEnumerable<(Of <(HashAlgorithm>)>)
The collection whose elements should be inserted into the List.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionWhen a HashAlgorithm within the specified collection is null.

See Also