SaaS CMS has officially launched! Learn more now.

Class SearchSortField

Inheritance
System.Object
SearchSortField
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Search
Assembly: Mediachase.Search.dll
Version: 11.8.3
Syntax
public class SearchSortField

Constructors

SearchSortField(String)

Initializes a new instance of the SearchSortField class.

Declaration
public SearchSortField(string fieldName)
Parameters
Type Name Description
System.String fieldName

Name of the field.

SearchSortField(String, Boolean)

Initializes a new instance of the SearchSortField class.

Declaration
public SearchSortField(string fieldName, bool isDescending)
Parameters
Type Name Description
System.String fieldName

Name of the field.

System.Boolean isDescending

if set to true [is descending].

Properties

FieldName

Gets or sets the name of the field.

Declaration
public string FieldName { get; set; }
Property Value
Type Description
System.String

The name of the field.

IsDescending

Gets or sets a value indicating whether this instance is descending.

Declaration
public bool IsDescending { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is descending; otherwise, false.

Methods

ToString()

Returns a System.String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents this instance.

Overrides
System.Object.ToString()