Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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