Editar

Compartilhar via


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.

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)

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

See also