ImmutableArray<T>.InsertRange 메서드

정의

오버로드

InsertRange(Int32, IEnumerable<T>)

지정된 인덱스에 지정된 값을 삽입합니다.

InsertRange(Int32, ImmutableArray<T>)

지정된 인덱스에 지정된 값을 삽입합니다.

InsertRange(Int32, ReadOnlySpan<T>)

지정된 인덱스에 지정된 값을 삽입합니다.

InsertRange(Int32, T[])

지정된 인덱스에 지정된 값을 삽입합니다.

InsertRange(Int32, IEnumerable<T>)

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

지정된 인덱스에 지정된 값을 삽입합니다.

public:
 System::Collections::Immutable::ImmutableArray<T> InsertRange(int index, System::Collections::Generic::IEnumerable<T> ^ items);
public System.Collections.Immutable.ImmutableArray<T> InsertRange (int index, System.Collections.Generic.IEnumerable<T> items);
member this.InsertRange : int * seq<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function InsertRange (index As Integer, items As IEnumerable(Of T)) As ImmutableArray(Of T)

매개 변수

index
Int32

값을 삽입할 인덱스입니다.

items
IEnumerable<T>

삽입할 요소입니다.

반환

지정된 인덱스에 항목이 삽입된 변경할 수 없는 새 배열입니다.

적용 대상

InsertRange(Int32, ImmutableArray<T>)

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

지정된 인덱스에 지정된 값을 삽입합니다.

public:
 System::Collections::Immutable::ImmutableArray<T> InsertRange(int index, System::Collections::Immutable::ImmutableArray<T> items);
public System.Collections.Immutable.ImmutableArray<T> InsertRange (int index, System.Collections.Immutable.ImmutableArray<T> items);
member this.InsertRange : int * System.Collections.Immutable.ImmutableArray<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function InsertRange (index As Integer, items As ImmutableArray(Of T)) As ImmutableArray(Of T)

매개 변수

index
Int32

값을 삽입할 인덱스입니다.

items
ImmutableArray<T>

삽입할 요소입니다.

반환

지정된 인덱스에 항목이 삽입된 변경할 수 없는 새 배열입니다.

적용 대상

InsertRange(Int32, ReadOnlySpan<T>)

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

지정된 인덱스에 지정된 값을 삽입합니다.

public:
 System::Collections::Immutable::ImmutableArray<T> InsertRange(int index, ReadOnlySpan<T> items);
public System.Collections.Immutable.ImmutableArray<T> InsertRange (int index, ReadOnlySpan<T> items);
member this.InsertRange : int * ReadOnlySpan<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function InsertRange (index As Integer, items As ReadOnlySpan(Of T)) As ImmutableArray(Of T)

매개 변수

index
Int32

값을 삽입할 인덱스입니다.

items
ReadOnlySpan<T>

삽입할 요소입니다.

반환

변경할 수 없는 새 컬렉션입니다.

적용 대상

InsertRange(Int32, T[])

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

지정된 인덱스에 지정된 값을 삽입합니다.

public:
 System::Collections::Immutable::ImmutableArray<T> InsertRange(int index, cli::array <T> ^ items);
public System.Collections.Immutable.ImmutableArray<T> InsertRange (int index, T[] items);
member this.InsertRange : int * 'T[] -> System.Collections.Immutable.ImmutableArray<'T>
Public Function InsertRange (index As Integer, items As T()) As ImmutableArray(Of T)

매개 변수

index
Int32

값을 삽입할 인덱스입니다.

items
T[]

삽입할 요소입니다.

반환

변경할 수 없는 새 컬렉션입니다.

적용 대상