Spread Windows Forms 7.0 Product Documentation
Swap Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > IMovable Interface : Swap Method


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

Glossary Item Box

Swaps items from one specified location to another.

Syntax

Visual Basic (Declaration) 
Sub Swap( _
   ByVal fromIndex As Integer, _
   ByVal toIndex As Integer, _
   ByVal count As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As IMovable
Dim fromIndex As Integer
Dim toIndex As Integer
Dim count As Integer
 
instance.Swap(fromIndex, toIndex, count)
C# 
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.