Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Table Class / MoveColumns(Int32,Int32,Int32) Method
An integer value indicates the index to move.
An integer value indicates the target index.
An integer value indicates the moved column count.


In This Topic
    MoveColumns(Int32,Int32,Int32) Method
    In This Topic
    Moves table column(s) at the specified index to other index.
    Syntax
    'Declaration
     
    
    Public Function MoveColumns( _
       ByVal index As Integer, _
       ByVal toIndex As Integer, _
       ByVal count As Integer _
    ) As ActionResult(Of Table)
    'Usage
     
    
    Dim instance As Table
    Dim index As Integer
    Dim toIndex As Integer
    Dim count As Integer
    Dim value As ActionResult(Of Table)
     
    value = instance.MoveColumns(index, toIndex, count)
    public ActionResult<Table> MoveColumns( 
       int index,
       int toIndex,
       int count
    )

    Parameters

    index
    An integer value indicates the index to move.
    toIndex
    An integer value indicates the target index.
    count
    An integer value indicates the moved column count.

    Return Value

    true if the moving is done successful, false otherwise.
    See Also