Share via


OidCollection.ICollection.CopyTo(Array, Int32) 메서드

정의

OidCollection 개체를 배열에 복사합니다.

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo

매개 변수

array
Array

OidCollection 개체를 복사할 배열입니다.

index
Int32

복사 작업을 시작할 위치입니다.

구현

예외

array는 다차원 배열이 아니어야 합니다.

또는

array의 길이가 잘못된 오프셋 길이입니다.

array이(가) null인 경우

index의 값이 범위를 벗어납니다.

설명

이 메서드는 OidCollection 지정된 위치에 있는 배열에 개체를 복사합니다.

적용 대상