Class SearchSortField
Inheritance
System.Object
    SearchSortField
  Namespace: Mediachase.Search
Assembly: Mediachase.Search.dll
Version: 14.26.0Syntax
public class SearchSortField : ObjectConstructors
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  | 
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 | 
 | 
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. | 
