SortProperty.Direction Property

Determines the direction (Ascending or Descending) of sorting for a the property specified by the PropertyName property.

Public Property Direction As [Namespace].SortDirection
[C#]
public property [Namespace].SortDirection Direction

Remarks

By default the sort direction is set to Ascending.

Example

 
[Visual Basic]
    'This example assumes that the MapPoint Web Service 
    'namespace has been imported 
    Dim MysortProperty As New SortProperty
    MysortProperty.Direction = SortDirection.Descending
    
 
[C#]
   //This example assumes that the MapPoint Web Service 
   //namespace has been imported 

   //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

  SortDirection Enumeration  |   FindFilter Class  |   SortProperty Class