ListBox.IntegerCollection.CopyTo(Array, Int32) 메서드

정의

배열 내의 지정된 위치에서 정수의 기존 배열로 전체 ListBox.IntegerCollection을 복사합니다.

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

매개 변수

destination
Array

ListBox.IntegerCollection이 복사될 배열입니다.

index
Int32

ListBox.IntegerCollection을 복사할 대상 배열 내의 위치입니다.

구현

예외

.NET 5 이상: destination null

설명

사용 된 CopyTo 단일 배열로 여러 컬렉션에서 정수를 결합 하는 방법입니다. 이 배열을 다른 형식의 콘텐츠를 채우는 데 사용할 수 있습니다 ListBox 사용 하 여 제어 합니다 AddRange 메서드.

적용 대상