Spread ASP.NET 6.0 Product Documentation
Swap Method
See Also  Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.