Spread Windows Forms 12.0 Product Documentation
SetRange(Reference) Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > ISort Interface > SetRange Method : SetRange(Reference) Method
Specifies the range over which the sort represented by the ISort object occurs.
Sets the range over which the sort occurs.
Syntax
'Declaration
 
Overloads Sub SetRange( _
   ByVal rng As Reference _
) 
'Usage
 
Dim instance As ISort
Dim rng As Reference
 
instance.SetRange(rng)
void SetRange( 
   Reference 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

Reference

ISort Interface
ISort Members
Overload List