InternalDataCollectionBase.CopyTo(Array, Int32) Метод
Определение
Копирует все элементы текущего объекта InternalDataCollectionBase в одномерный массив Array, начиная с указанного индекса InternalDataCollectionBase.Copies all the elements of the current InternalDataCollectionBase to a one-dimensional Array, starting at the specified InternalDataCollectionBase index.
public:
virtual void CopyTo(Array ^ ar, int index);
public virtual void CopyTo (Array ar, int index);
public void CopyTo (Array ar, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Overridable Sub CopyTo (ar As Array, index As Integer)
Public Sub CopyTo (ar As Array, index As Integer)
Параметры
- ar
- Array
Одномерный массив Array, в который копируются элементы текущего объекта InternalDataCollectionBase.The one-dimensional Array to copy the current InternalDataCollectionBase object's elements into.
- index
- Int32
Индекс целевого массива Array, с которого начинается копирование.The destination Array index to start copying into.
Реализации
Комментарии
Этот метод может быть переопределен производным классом.This method can be overridden by a derived class.
BaseCollectionКласс и его члены не предназначены для использования в качестве изолированного компонента, но в качестве класса, от которого другие классы коллекций наследуют стандартные функциональные возможности.The BaseCollection class and its members are not intended for use as a stand-alone component, but as the class from which other collection classes derive standard functionality.