Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / IMovable Interface / Swap Method
Location at which to begin the swap
Location at which to swap items
Number of items to swap


In This Topic
    Swap Method (IMovable)
    In This Topic
    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
    See Also