Class SortInfo
The SortInfo class is a data structure describing the manner in which a result set should be sorted.
Inheritance
System.Object
SortInfo
Inherited Members
System.Object.ToString()
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: EPiServer.Social.Common
Assembly: EPiServer.Social.Common.dll
Version: 1.5.4Syntax
public class SortInfo
Constructors
SortInfo(SortField, Boolean)
Constructor
Declaration
public SortInfo(SortField field, bool ascending)
Parameters
| Type | Name | Description |
|---|---|---|
| SortField | field | Field on which to sort |
| System.Boolean | ascending | Direction in which to sort |
Properties
Ascending
Gets the direction in which to sort.
Declaration
public bool Ascending { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Field
Gets the field on which to sort.
Declaration
public SortField Field { get; }
Property Value
| Type | Description |
|---|---|
| SortField |