DataGridViewComboBoxCell.ObjectCollection.CopyTo(Object[], Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
전체 컬렉션을 배열 내의 지정된 위치에 있는 개체의 기존 배열에 복사합니다.
public:
void CopyTo(cli::array <System::Object ^> ^ destination, int arrayIndex);
public void CopyTo(object[] destination, int arrayIndex);
member this.CopyTo : obj[] * int -> unit
Public Sub CopyTo (destination As Object(), arrayIndex As Integer)
매개 변수
- destination
- Object[]
콘텐츠를 복사할 대상 배열입니다.
- arrayIndex
- Int32
복사를 시작할 요소 destination 의 인덱스입니다.
예외
destination은 null입니다.
arrayIndex 가 0보다 작거나 길이보다 destination크거나 같습니다.
-또는-
의 요소 DataGridViewComboBoxCell.ObjectCollection 수가 사용 가능한 공간 arrayIndexdestination보다 큰 경우
destination 가 다차원입니다.