ActivityCollection.ICollection<Activity>.CopyTo 메서드

정의

특정 ICollection 인덱스부터 시작하여 Array의 요소를 Array에 복사합니다.

 virtual void System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.CopyTo(cli::array <System::Workflow::ComponentModel::Activity ^> ^ array, int arrayIndex) = System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^>::CopyTo;
void ICollection<Activity>.CopyTo (System.Workflow.ComponentModel.Activity[] array, int arrayIndex);
abstract member System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.CopyTo : System.Workflow.ComponentModel.Activity[] * int -> unit
override this.System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.CopyTo : System.Workflow.ComponentModel.Activity[] * int -> unit
Sub CopyTo (array As Activity(), arrayIndex As Integer) Implements ICollection(Of Activity).CopyTo

매개 변수

array
Activity[]

복사 작업의 대상이 되는 Array 입니다.

arrayIndex
Int32

복사가 시작되는 ICollection 내의 인덱스(0부터 시작)입니다.

구현

예외

array이 null 참조(Visual Basic의 경우 Nothing)인 경우

index가 0보다 작은 경우

array가 다차원 배열인 경우

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

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

Activity 형식을 대상 array의 형식으로 자동 캐스팅할 수 없는 경우

적용 대상