PathFigureCollection.CopyTo(PathFigure[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.