Class WebPartPageOnPremises
Analyzes a web part page for SP2010 to SP2016 on-premises SharePoint
Inherited Members
Namespace: PnP.Framework.Modernization.Pages
Assembly: PnP.Framework.dll
Syntax
public class WebPartPageOnPremises : WebPartPage
Constructors
WebPartPageOnPremises(ListItem, File, PageTransformation, IList<ILogObserver>)
Instantiates a web part page object for on-premises environments
Declaration
public WebPartPageOnPremises(ListItem page, File pageFile, PageTransformation pageTransformation, IList<ILogObserver> logObservers = null)
Parameters
ListItem
page
ListItem holding the page to analyze |
File
pageFile
File holding the page (for pages living outside of a library) |
PageTransformation
pageTransformation
Page transformation information |
IList<ILogObserver>
logObservers
|
Methods
Analyze(Boolean)
Analyses a webpart page from on-premises environment
Declaration
public override Tuple<PageLayout, List<WebPartEntity>> Analyze(bool includeTitleBarWebPart = false)
Parameters
System.Boolean
includeTitleBarWebPart
|
Returns
Tuple<PageLayout, List<WebPartEntity>>
|