PowerTools SPREAD for Windows Forms 8.0J
Swap メソッド (IMovable)


交換を開始する位置
アイテムの交換先の位置
交換するアイテムの数
指定した位置と別の位置でアイテムを交換します。
構文
void Swap( 
   int fromIndex,
   int toIndex,
   int count
)
'Declaration
 
Sub Swap( _
   ByVal fromIndex As Integer, _
   ByVal toIndex As Integer, _
   ByVal count As Integer _
) 
 
'使用法
 
Dim instance As IMovable
Dim fromIndex As Integer
Dim toIndex As Integer
Dim count As Integer
 
instance.Swap(fromIndex, toIndex, count)

パラメータ

fromIndex
交換を開始する位置
toIndex
アイテムの交換先の位置
count
交換するアイテムの数
参照

IMovable インタフェース
IMovable メンバ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.