Class OrderByField
Class is used to order the data by field.
Inheritance
System.Object
OrderByField
Namespace: PnP.Framework.Utilities
Assembly: PnP.Framework.dll
Syntax
public class OrderByField : object
Constructors
OrderByField(String)
Constructor for OrderByField class
Declaration
public OrderByField(string name)
Parameters
System. Name of the field |
OrderByField(String, Boolean)
Constructor for OrderByField class
Declaration
public OrderByField(string name, bool ascending)
Parameters
System. Name of the field |
System. If we want to order in ascending order |
Properties
Ascending
Gets or sets the Ascending order flag
Declaration
public bool Ascending { get; set; }
Property Value
System.
|
Name
Gets or sets the name of the field
Declaration
public string Name { get; set; }
Property Value
System.
|
Methods
ToString()
OrderByField string
Declaration
public override string ToString()
Returns
System. Returns string |