DetailsViewRowCollection.ICollection.CopyTo(Array, 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 all the items from this DetailsViewRowCollection object to the specified Array object, starting at the specified index in the Array.
virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo
Parameters
- array
- Array
A zero-based Array that receives the copied items from the DetailsViewRowCollection.
Implements
Remarks
This implementation of the ICollection.CopyTo(Array, Int32) method is a helper method used by the DetailsViewRowCollection class to copy the items in the DetailsViewRowCollection object into the specified Array object, starting at the specified index. The Array object can then be used to access the items in the collection.
Note
You must use a zero-based Array object for the array
parameter.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈