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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應