See Also

SortKey Class  | SortKey Members  | Sort Method  | SortOrder Enumeration  | SortDataOption Enumeration

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

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.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

SortKey Constructor

SpreadsheetGear Namespace > SortKey Class : SortKey Constructor (SortKey)

Creates a sort key with the specified key and sort order.

[Visual Basic]
Public Function New( _    ByVal key As Integer, _    ByVal order As SortOrder, _    ByVal dataOption As SortDataOption _ )
[C#]
public SortKey(    int key,    SortOrder order,    SortDataOption dataOption );
[C++]
public: SortKey(    int key,    SortOrder order,    SortDataOption dataOption )
[C++/CLI]
public: SortKey(    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

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SortKey Class  | SortKey Members  | Sort Method  | SortOrder Enumeration  | SortDataOption Enumeration

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.