ImmutableArray<T>.CopyTo 메서드

정의

오버로드

CopyTo(Span<T>)

현재 ImmutableArray<T> 의 요소를 에 복사합니다 Span<T>.

CopyTo(T[])

이 배열의 내용을 지정된 배열에 복사합니다.

CopyTo(T[], Int32)

지정된 대상 인덱스에서 시작하여 이 배열의 내용을 지정된 배열에 복사합니다.

CopyTo(Int32, T[], Int32, Int32)

지정된 시작 인덱스에서 이 배열의 지정된 항목을 지정된 배열에 복사합니다.

CopyTo(Span<T>)

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

현재 ImmutableArray<T> 의 요소를 에 복사합니다 Span<T>.

public:
 void CopyTo(Span<T> destination);
public void CopyTo (Span<T> destination);
member this.CopyTo : Span<'T> -> unit
Public Sub CopyTo (destination As Span(Of T))

매개 변수

destination
Span<T>

Span<T> 현재 ImmutableArray<T>에서 복사된 요소의 대상인 입니다.

적용 대상

CopyTo(T[])

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

이 배열의 내용을 지정된 배열에 복사합니다.

public:
 void CopyTo(cli::array <T> ^ destination);
public void CopyTo (T[] destination);
member this.CopyTo : 'T[] -> unit
Public Sub CopyTo (destination As T())

매개 변수

destination
T[]

복사할 대상 배열입니다.

적용 대상

CopyTo(T[], Int32)

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

지정된 대상 인덱스에서 시작하여 이 배열의 내용을 지정된 배열에 복사합니다.

public:
 virtual void CopyTo(cli::array <T> ^ destination, int destinationIndex);
public void CopyTo (T[] destination, int destinationIndex);
abstract member CopyTo : 'T[] * int -> unit
override this.CopyTo : 'T[] * int -> unit
Public Sub CopyTo (destination As T(), destinationIndex As Integer)

매개 변수

destination
T[]

복사할 대상 배열입니다.

destinationIndex
Int32

복사를 시작할 array의 인덱스입니다.

구현

적용 대상

CopyTo(Int32, T[], Int32, Int32)

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

지정된 시작 인덱스에서 이 배열의 지정된 항목을 지정된 배열에 복사합니다.

public:
 void CopyTo(int sourceIndex, cli::array <T> ^ destination, int destinationIndex, int length);
public void CopyTo (int sourceIndex, T[] destination, int destinationIndex, int length);
member this.CopyTo : int * 'T[] * int * int -> unit
Public Sub CopyTo (sourceIndex As Integer, destination As T(), destinationIndex As Integer, length As Integer)

매개 변수

sourceIndex
Int32

복사를 시작할 이 배열의 인덱스입니다.

destination
T[]

복사할 대상 배열입니다.

destinationIndex
Int32

복사를 시작할 array의 인덱스입니다.

length
Int32

이 배열에서 복사할 요소 수입니다.

적용 대상