ModelItemCollection.CopyTo(ModelItem[], 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 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.