Class PageLayout
Defines an available Page Layout for the current Publishing site
Inherited Members
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 |