PathSegmentCollection.CopyTo(PathSegment[], Int32) PathSegmentCollection.CopyTo(PathSegment[], Int32) PathSegmentCollection.CopyTo(PathSegment[], Int32) PathSegmentCollection.CopyTo(PathSegment[], Int32) Method

定義

PathSegmentCollection 全体を、1 次元 PathSegment 配列の、指定したインデックスから始まる位置にコピーします。Copies the entire PathSegmentCollection to a one-dimensional PathSegment array, starting at the specified index of the target array.

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[]

コレクションの項目のコピー先の配列。The array into which the collection's items are to be copied.

index
Int32 Int32 Int32 Int32

PathSegmentCollection の内容のコピーを開始する位置の array のインデックス。The index of array at which to start copying the contents of the PathSegmentCollection.

例外

array が多次元です。array is multidimensional.

- または --or- コピー元の PathSegmentCollection の項目数が、コピー先の indexarray から最後までの領域を超えています。The number of items in the source PathSegmentCollection is greater than the available space from index to the end of the destination array.

適用対象

こちらもご覧ください