SortOption SortOption SortOption 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
type SortOption = class
Public Class SortOption
Inheritance
SortOptionSortOptionSortOptionSortOption
Attributes

Constructors

SortOption() SortOption() SortOption() SortOption()

Initializes a new instance of the SortOption() class.

SortOption(String, SortDirection) SortOption(String, SortDirection) SortOption(String, SortDirection) SortOption(String, SortDirection)

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

Properties

Direction Direction Direction Direction

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

PropertyName PropertyName PropertyName PropertyName

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also