Note
If target is neither a ListT nor an ISupportsRangeListT implementation,
then the elements of collection will be inserted one by one.
public static void InsertRange<T>(
this IList<T> target,
int index,
IEnumerable<T> collection
)
<ExtensionAttribute>
Public Shared Sub InsertRange(Of T) (
target As IList(Of T),
index As Integer,
collection As IEnumerable(Of T)
)
public:
[ExtensionAttribute]
generic<typename T>
static void InsertRange(
IList<T>^ target,
int index,
IEnumerable<T>^ collection
)
[<ExtensionAttribute>]
static member InsertRange :
target : IList<'T> *
index : int *
collection : IEnumerable<'T> -> unit
ArgumentNullException | target or collection is . |
ArgumentOutOfRangeException | index is not a valid index in the CircularListT. |