SortOption Class

Definition

Specifies how to sort the results of a search.

public ref class SortOption
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public class SortOption
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
type SortOption = class
Public Class SortOption
Inheritance
SortOption
Attributes

Constructors

SortOption()

Initializes a new instance of the SortOption() class.

SortOption(String, SortDirection)

Initializes a new instance of the SortOption class, which contains the specified property name and specified sort direction.

Properties

Direction

Gets or sets the direction in which to sort the results of a query.

PropertyName

Gets or sets the name of the property to sort on.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also