Redigeeri

Jagamisviis:


ModelItemCollection.CopyTo(ModelItem[], Int32) Method

Definition

Copies the contents of the collection into the given array.

public:
 abstract void CopyTo(cli::array <System::Activities::Presentation::Model::ModelItem ^> ^ array, int arrayIndex);
public abstract void CopyTo (System.Activities.Presentation.Model.ModelItem[] array, int arrayIndex);
abstract member CopyTo : System.Activities.Presentation.Model.ModelItem[] * int -> unit
Public MustOverride Sub CopyTo (array As ModelItem(), arrayIndex As Integer)

Parameters

array
ModelItem[]

The array to copy the collection into.

arrayIndex
Int32

The index in the array to start copying at.

Implements

Exceptions

array is null.

arrayIndex is out of range, or there is not sufficient room in the array to hold the contents of the collection.

Applies to