GrapeCity SPREAD for WPF 2.0J
Move メソッド (RowCollection)

移動する最初の行の位置を示す int 値。
移動先の位置を示す int 値。
移動する行の数を示す int 値。
コレクション内の一連の行を新しい位置に移動します。
構文
'Declaration
 
Public Sub Move( _
   ByVal index As Integer, _
   ByVal moveToIndex As Integer, _
   Optional ByVal count As Integer _
) 
public void Move( 
   int index,
   int moveToIndex,
   int count
)

パラメータ

index
移動する最初の行の位置を示す int 値。
moveToIndex
移動先の位置を示す int 値。
count
移動する行の数を示す int 値。
例外
例外説明
System.ArgumentOutOfRangeExceptionindex が0未満です。または、index が Count 以上です。または、count が0以下です。または、index と count が RowCollection 内の要素の有効な範囲を示していません。または、moveToIndex が0未満です。または、moveToIndex が Count 以上です
System.InvalidOperationExceptionSortDescriptions が空ではありません。または、GroupDescriptions が空ではありません。または、移動範囲に新規行が含まれます。または、移動先範囲に新規行が含まれます。
参照

RowCollection クラス
RowCollection メンバ

 

 


Copyright © 2012 GrapeCity inc. All rights reserved.