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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈