Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / ISort Interface / SetRange Method / SetRange(String) Method
Specifies the range over which the sort represented by the ISort object occurs.


In This Topic
    SetRange(String) Method
    In This Topic
    Sets the range over which the sort occurs.
    Syntax
    'Declaration
     
    
    Overloads Sub SetRange( _
       ByVal rng As String _
    ) 
    'Usage
     
    
    Dim instance As ISort
    Dim rng As String
     
    instance.SetRange(rng)
    void SetRange( 
       string rng
    )

    Parameters

    rng
    Specifies the range over which the sort represented by the ISort object occurs.
    Remarks
    SetRange(Reference) can only be used when applying a sort to a sheet range, and cannot be used if the range is within a table.
    See Also