Search Results for

    Show / Hide Table of Contents

    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.String name

    Name of the field

    OrderByField(String, Boolean)

    Constructor for OrderByField class

    Declaration
    public OrderByField(string name, bool ascending)
    Parameters
    System.String name

    Name of the field

    System.Boolean ascending

    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.Boolean

    Name

    Gets or sets the name of the field

    Declaration
    public string Name { get; set; }
    Property Value
    System.String

    Methods

    ToString()

    OrderByField string

    Declaration
    public override string ToString()
    Returns
    System.String

    Returns string

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer