PathFigureCollection.CopyTo(PathFigure[], Int32) Method

Definition

Copies the entire PathFigureCollection to a one-dimensional array of type PathFigure, starting at the specified index of the target array.

C#
public void CopyTo(System.Windows.Media.PathFigure[] array, int index);

Parameters

array
PathFigure[]

The array into which the collection's items are to be copied.

index
Int32

The index of array at which to start copying the contents of the PathFigureCollection.

Implements

Exceptions

array is null.

index is less than zero.

array is multidimensional.

-or-

The number of items in the source PathFigureCollection is greater than the available space from index to the end of the destination array.

Applies to

Proizvod Verzije
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also