Bearbeiten

Freigeben über


TransformCollection.CopyTo(Transform[], Int32) Method

Definition

Copies the items of the TransformCollection to an array, starting at the specified array index.

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

Parameters

array
Transform[]

The one-dimensional array that is the destination of the items copied from the TransformCollection. The array must have zero-based indexing.

index
Int32

The zero-based index in array at which copying begins.

Implements

Exceptions

array is null.

index is less than zero.

array is multidimensional.

-or-

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

Applies to

See also