Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class SearchSortField

Inheritance
System.Object
SearchSortField
Namespace: Mediachase.Search
Assembly: Mediachase.Search.dll
Version: 14.26.0
Syntax
public class SearchSortField : Object

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.