Share via


SortProperty.PropertyName Property

SortProperty.PropertyName Property

Name of the entity property name used to sort the find results.


Public Property PropertyName As System.String


[C#]

public property System.String PropertyName;

Remarks

  • Maximum allowed length of a property name is limited to 50 characters.

  • You can use up to three properties sort the results. If more than three properties are specified, an exception is thrown.

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

  SortProperty Class   |   FindFilter Class