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

設定先となる<b>System.Array</b>配列。
コピー先配列におけるコピー開始位置となるインデックスを表す<b><see cref="T:System.Int32">Int32</see></b>値。
コレクションのオブジェクトを、1次元<see cref="T:System.Array" />インスタンスの指定したインデックス以降にコピーします。
構文
'Declaration
 
Public Sub CopyTo( _
   ByVal array() As SideButtonBase, _
   ByVal index As Integer _
) 
public void CopyTo( 
   SideButtonBase[] array,
   int index
)

パラメータ

array
設定先となる<b>System.Array</b>配列。
index
コピー先配列におけるコピー開始位置となるインデックスを表す<b><see cref="T:System.Int32">Int32</see></b>値。
例外
例外説明
System.ArgumentNullException配列のパラメータがnullです。
System.ArgumentOutOfRangeExceptionインデックスパラメータは、ターゲットアレイの最小インデックスよりも小さくなっています。
System.ArgumentExceptionターゲットの配列は多次元です。 またはSideButtonCollectionの要素数が、indexパラメータで指定されたターゲットの配列のインデックスとターゲットの配列の終わりの間の使用可能なスペースよりも大きい。
参照

SideButtonCollection クラス
SideButtonCollection メンバ

 

 


© MESCIUS inc. All rights reserved.