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 이상: destinationnull

설명

메서드를 CopyTo 사용하여 여러 컬렉션의 정수를 단일 배열로 결합합니다. 그런 다음 이 배열을 사용하여 메서드를 사용하여 ListBox 다른 AddRange 컨트롤의 내용을 채울 수 있습니다.

적용 대상