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


In This Topic
    SetRange(IRange) Method
    In This Topic
    Sets the range over which the sort occurs.
    Syntax
    'Declaration
     
    
    Overloads Sub SetRange( _
       ByVal rng As IRange _
    ) 
    'Usage
     
    
    Dim instance As ISort
    Dim rng As IRange
     
    instance.SetRange(rng)
    void SetRange( 
       IRange 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