Spread Windows Forms 9.0 Product Documentation
Swap Method (IMovable)


Location at which to begin the swap
Location at which to swap items
Number of items to swap
Swaps items from one specified location to another.
Syntax
'Declaration
 
Sub Swap( _
   ByVal fromIndex As Integer, _
   ByVal toIndex As Integer, _
   ByVal count As Integer _
) 
'Usage
 
Dim instance As IMovable
Dim fromIndex As Integer
Dim toIndex As Integer
Dim count As Integer
 
instance.Swap(fromIndex, toIndex, count)
void Swap( 
   int fromIndex,
   int toIndex,
   int count
)

Parameters

fromIndex
Location at which to begin the swap
toIndex
Location at which to swap items
count
Number of items to swap
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

IMovable Interface
IMovable Members

 

 


Copyright © GrapeCity, inc. All rights reserved.