MESCIUS SPREAD for Windows Forms 17.0J
CopyTo メソッド (MatchedListItemCollection)

の要素のコピー先となる1次元。このには0から始まるインデックスが必要です。
コピーを開始する、配列内のゼロから始まるインデックス。
System.Collections.ICollection の要素を特定の <see cref="T:System.Array" /> インデックス位置から順に <see cref="T:System.Array" /> にコピーします。
構文
'Declaration
 
Public Sub CopyTo( _
   ByVal array As Array, _
   ByVal index As Integer _
) 
public void CopyTo( 
   Array array,
   int index
)

パラメータ

array
の要素のコピー先となる1次元。このには0から始まるインデックスが必要です。
index
コピーを開始する、配列内のゼロから始まるインデックス。
例外
例外説明
System.ArgumentNullExceptionarrayがnull 参照 (Visual Basicでは Nothing)です。
System.ArgumentOutOfRangeExceptionindexがゼロ未満です。
System.ArgumentExceptionarrayが多次元です。または、indexがarrayの長さ以上です。または、ソースSystem.Collections.ICollection内のボタンの数が、indexからコピー先配列の末尾までに格納できる数を超えています。
System.InvalidCastExceptionソースの型System.Collections.ICollectionが、コピー先配列の型に自動的にキャストできません。
参照

MatchedListItemCollection クラス
MatchedListItemCollection メンバ

 

 


© MESCIUS inc. All rights reserved.