Метод | Описание | |
---|---|---|
AscendingOrder ( string field ) : SortKey |
Creates a new ascending-order sort key for the provided field.
|
|
DescendingOrder ( string field ) : SortKey |
Creates a new descending-order sort key for the provided field.
|
|
IsAscendingOrder ( ) : bool |
Returns {@code true} if this sort key is in ascending order, or {@code false} if it is in descending order.
|
|
ReverseOrder ( SortKey key ) : SortKey |
Creates a new sort key having the same field as the provided key, but in reverse sort order.
|
|
SortKey ( string field, bool isAscendingOrder ) : System |
public static AscendingOrder ( string field ) : SortKey | ||
field | string | /// The sort key field. /// |
Результат | SortKey |
public static DescendingOrder ( string field ) : SortKey | ||
field | string | /// The sort key field. /// |
Результат | SortKey |
public static ReverseOrder ( SortKey key ) : SortKey | ||
key | SortKey | /// The sort key to be reversed. /// |
Результат | SortKey |
public SortKey ( string field, bool isAscendingOrder ) : System | ||
field | string | |
isAscendingOrder | bool | |
Результат | System |