Прочетете на английски Редактиране

Споделяне чрез


ImmutableArray<T>.Builder.InsertRange Method

Definition

Overloads

InsertRange(Int32, IEnumerable<T>)

Inserts the specified values at the specified index.

InsertRange(Int32, ImmutableArray<T>)

Inserts the specified values at the specified index.

InsertRange(Int32, IEnumerable<T>)

Source:
ImmutableArray_1.Builder.cs
Source:
ImmutableArray_1.Builder.cs
Source:
ImmutableArray_1.Builder.cs
Source:
ImmutableArray_1.Builder.cs

Inserts the specified values at the specified index.

C#
public void InsertRange(int index, System.Collections.Generic.IEnumerable<T> items);

Parameters

index
Int32

The index at which to insert the value.

items
IEnumerable<T>

The elements to insert.

Applies to

.NET 10 и други версии
Продукт Версии
.NET 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)

InsertRange(Int32, ImmutableArray<T>)

Source:
ImmutableArray_1.Builder.cs
Source:
ImmutableArray_1.Builder.cs
Source:
ImmutableArray_1.Builder.cs
Source:
ImmutableArray_1.Builder.cs

Inserts the specified values at the specified index.

C#
public void InsertRange(int index, System.Collections.Immutable.ImmutableArray<T> items);

Parameters

index
Int32

The index at which to insert the value.

items
ImmutableArray<T>

The elements to insert.

Applies to

.NET 10 и други версии
Продукт Версии
.NET 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)