GrapeCity SPREAD for Windows Forms 12.0J
CopyTo メソッド (MatchedListItemCollectionInfo)


System.Collections.ICollectionの要素のコピー先となる1次元のSystem.ArraySystem.Arrayにはゼロから始まるインデックスが必要です。
コピーを開始する、配列内のゼロから始まるインデックス。
System.Collections.ICollectionの要素を、System.Arrayの特定のSystem.Arrayインデックス以降にコピーします。
構文
'Declaration
 
Public Sub CopyTo( _
   ByVal array As Array, _
   ByVal index As Integer _
) 
'使用法
 
Dim instance As MatchedListItemCollectionInfo
Dim array As Array
Dim index As Integer
 
instance.CopyTo(array, index)
public void CopyTo( 
   Array array,
   int index
)

パラメータ

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

MatchedListItemCollectionInfo クラス
MatchedListItemCollectionInfo メンバ

 

 


Copyright © 2004 GrapeCity inc.