DataGridItemCollection.CopyTo(Array, Int32) Метод
Определение
Копирует все элементы из этой коллекции DataGridItemCollection в указанный объект Array, начиная с заданного индекса в массиве Array.Copies all the items from this DataGridItemCollection collection to the specified Array, starting at the specified index in the Array.
public:
virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)
Параметры
- array
- Array
Отсчитываемый от нуля класс Array, который получает элементы, скопированные из DataGridItemCollection.A zero-based Array that receives the copied items from the DataGridItemCollection.
- index
- Int32
Позиция в заданном Array, начиная с которой в него будет помещаться копируемое содержимое.The first position in the specified Array to receive the copied contents.
Реализации
Комментарии
Используйте этот метод, чтобы скопировать содержимое DataGridItemCollection коллекции в указанное System.Array , начиная с указанного индекса.Use this method to copy the contents of the DataGridItemCollection collection into the specified System.Array, starting at the specified index.
Примечание
array
Параметр должен быть начинающимся с нуля System.Array .The array
parameter must be a zero-based System.Array.