BaseCollection.CopyTo(Array, Int32) 메서드

정의

현재 1차원 Array의 모든 요소를 지정된 대상 Array 인덱스부터 시작하여 지정된 1차원 Array에 복사합니다.

public:
 virtual void CopyTo(Array ^ ar, int index);
public void CopyTo (Array ar, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (ar As Array, index As Integer)

매개 변수

ar
Array

현재 Array의 요소를 복사할 1차원 Array입니다.

index
Int32

ar에서 복사가 시작되는 상대 인덱스(0부터 시작)입니다.

구현

적용 대상

추가 정보