BaseCollection.CopyTo(Array, Int32) メソッド
定義
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 Sub CopyTo (ar As Array, index As Integer)
パラメーター
- ar
- Array
現在の Array からコピーされる要素のコピー先となる 1 次元の Array
。The one-dimensional Array that is the destination of the elements copied from the current Array
.
- index
- Int32
コピーの開始位置となる、ar
の 0 から始まる相対インデックス番号。The zero-based relative index in ar
at which copying begins.