Share via


SortDirection Enumeration

SortDirection Enumeration

Defines the direction (Ascending or Descending) of sorting for find results.


Public Enum SortDirection Inherits System.Enum


[C#]

public enum SortDirection : System.Enum

Members

The following table lists the values for the SortDirection enumeration.

Name Description
Ascending

Sorts find results in ascending order.

Descending

Sorts find results in descending order.

Example

[Visual Basic]

    Dim MysortProperty As New SortProperty
    MysortProperty.Direction = SortDirection.Descending



[C#]

   //Specify what properties to be used to sort the found results
   SortProperty sortproperty = new SortProperty();
   //Specify the sort direction: Ascending or Descending
   sortproperty.Direction = SortDirection.Descending;


See Also

  FindFilter Class   |   SortProperty Class