SortDescription Структура
Определение
Определяет направление и имя свойства, используемые в качестве условий сортировки коллекции.Defines the direction and the property name to be used as the criteria for sorting a collection.
public value class SortDescription
public struct SortDescription
type SortDescription = struct
Public Structure SortDescription
- Наследование
Конструкторы
SortDescription(String, ListSortDirection) |
Инициализирует новый экземпляр структуры SortDescription.Initializes a new instance of the SortDescription structure. |
Свойства
Direction |
Получает или задает значение, показывающее, выполняется ли сортировка в порядке возрастания или убывания.Gets or sets a value that indicates whether to sort in ascending or descending order. |
IsSealed |
Возвращает значение, показывающее, находится ли этот объект в неизменном состоянии.Gets a value that indicates whether this object is in an immutable state. |
PropertyName |
Получает или задает имя свойства, которое используется в качестве условия сортировки.Gets or sets the property name being used as the sorting criteria. |
Методы
Equals(Object) |
Сравнивает заданный экземпляр с текущим экземпляром объекта SortDescription, проверяя равенство значений.Compares the specified instance and the current instance of SortDescription for value equality. |
GetHashCode() |
Возвращает хэш-код для данного экземпляра SortDescription.Returns the hash code for this instance of SortDescription. |
Операторы
Equality(SortDescription, SortDescription) |
Сравнивает два объекта SortDescription на равенство значений.Compares two SortDescription objects for value equality. |
Inequality(SortDescription, SortDescription) |
Сравнивает два объекта SortDescription на неравенство значений.Compares two SortDescription objects for value inequality. |