Spread for ASP.NET 7.0 Product Documentation
Swap Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.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 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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