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: 10.8.0Syntax
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 |
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. |
Overrides
System.Object.ToString()