ListBox.IntegerCollection.CopyTo(Array, Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
배열 내의 지정된 위치에 있는 정수의 기존 배열에 전체를 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 컨트롤의 내용을 채울 수 있습니다.