SpreadsheetGear 2017
SortKey Constructor






SpreadsheetGear Namespace > SortKey Class : SortKey Constructor
Specifies the zero based index into the range to be sorted.
Specifies whether this key should be sorted in ascending or descending order.
Specifies data options for this key.
Creates a sort key with the specified key and sort order.
Syntax
'Declaration
 
Public Function New( _
   ByVal key As System.Integer, _
   ByVal order As SortOrder, _
   ByVal dataOption As SortDataOption _
)
'Usage
 
Dim key As System.Integer
Dim order As SortOrder
Dim dataOption As SortDataOption
 
Dim instance As New SortKey(key, order, dataOption)
public SortKey( 
   System.int key,
   SortOrder order,
   SortDataOption dataOption
)
public SortKey( 
    key: System.Integer;
    order: SortOrder;
    dataOption: SortDataOption
); 
public function SortKey( 
   key : System.int,
   order : SortOrder,
   dataOption : SortDataOption
);
public: SortKey( 
   System.int key,
   SortOrder order,
   SortDataOption dataOption
)
public:
SortKey( 
   System.int key,
   SortOrder order,
   SortDataOption dataOption
)

Parameters

key
Specifies the zero based index into the range to be sorted.
order
Specifies whether this key should be sorted in ascending or descending order.
dataOption
Specifies data options for this key.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SortKey Class
SortKey Members
Sort Method
SortOrder Enumeration
SortDataOption Enumeration