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

정의

특정 MembershipUserCollection 인덱스부터 시작하여 Array개체의 내용을 Array 에 복사합니다.

 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

Array 개체에서 복사한 개체의 대상인 1차원 MembershipUserCollection 입니다. Array에는 0부터 시작하는 인덱스가 있어야 합니다.

index
Int32

array에서 복사가 시작되는 0부터 시작하는 인덱스입니다.

구현

예외

array이(가) null인 경우

index 가 0보다 작습니다.

array가 다차원 배열인 경우

또는 indexarray의 길이보다 크거나 같은 경우

또는 소스 MembershipUserCollection의 요소 수가 대상 배열의 index부터 끝까지 사용 가능한 공간보다 큰 경우

소스 MembershipUserCollection 의 형식을 대상 배열의 형식으로 자동 캐스팅할 수 없는 경우

적용 대상