Search Results for

    Show / Hide Table of Contents

    Class PageLayout

    Defines an available Page Layout for the current Publishing site

    Inheritance
    System.Object
    BaseModel
    PageLayout
    Inherited Members
    BaseModel.ParentTemplate
    Namespace: PnP.Framework.Provisioning.Model
    Assembly: PnP.Framework.dll
    Syntax
    public class PageLayout : BaseModel, IProvisioningTemplateDescendant

    Properties

    IsDefault

    Defines whether the Page Layout is the default for the current Publishing site

    Declaration
    public Boolean IsDefault { get; set; }
    Property Value
    Boolean

    Path

    Defines the path of the Page Layout for the current Publishing site

    Declaration
    public String Path { get; set; }
    Property Value
    String

    Methods

    Equals(PageLayout)

    Compares PageLayout object based on Path and IsDefault properties.

    Declaration
    public bool Equals(PageLayout other)
    Parameters
    PageLayout other

    PageLayout object

    Returns
    System.Boolean

    true if the PageLayout object is equal to the current object; otherwise, false.

    Equals(Object)

    Compares object with PageLayout

    Declaration
    public override bool Equals(object obj)
    Parameters
    System.Object obj

    Object that represents PageLayout

    Returns
    System.Boolean

    true if the current object is equal to the PageLayout

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    System.Int32

    Returns HashCode

    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