PathFigureCollection.CopyTo(PathFigure[], Int32) PathFigureCollection.CopyTo(PathFigure[], Int32) PathFigureCollection.CopyTo(PathFigure[], Int32) PathFigureCollection.CopyTo(PathFigure[], Int32) Method

定義

PathFigureCollection 全体を、PathFigure 型の 1 次元配列の、指定したインデックス位置以降にコピーします。Copies the entire PathFigureCollection to a one-dimensional array of type PathFigure, starting at the specified index of the target array.

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

パラメーター

array
PathFigure[]

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

index
Int32 Int32 Int32 Int32

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

例外

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

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

適用対象

こちらもご覧ください