PathSegmentCollection.CopyTo(PathSegment[], Int32) 메서드

정의

대상 배열의 지정된 인덱스에서 시작하여 전체 PathSegmentCollection 배열을 1차원 PathSegment 배열에 복사합니다.

public:
 virtual void CopyTo(cli::array <System::Windows::Media::PathSegment ^> ^ array, int index);
public void CopyTo(System.Windows.Media.PathSegment[] array, int index);
abstract member CopyTo : System.Windows.Media.PathSegment[] * int -> unit
override this.CopyTo : System.Windows.Media.PathSegment[] * int -> unit
Public Sub CopyTo (array As PathSegment(), index As Integer)

매개 변수

array
PathSegment[]

컬렉션의 항목을 복사할 배열입니다.

index
Int32

의 내용 복사를 시작할 인덱 array 스입니다 PathSegmentCollection.

구현

예외

arraynull입니다.

index가 0보다 작습니다.

array 가 다차원입니다.

-또는-

원본 PathSegmentCollection 의 항목 수가 대상index에서 끝까지 사용 가능한 공간 array 보다 큽니다.

적용 대상

추가 정보