Class WebPartPage
Analyzes a web part page
Inherited Members
Namespace: PnP.Framework.Modernization.Pages
Assembly: PnP.Framework.dll
Syntax
public class WebPartPage : BasePage
Constructors
WebPartPage(ListItem, File, PageTransformation, IList<ILogObserver>)
Instantiates a web part page object
Declaration
public WebPartPage(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
Declaration
public virtual Tuple<PageLayout, List<WebPartEntity>> Analyze(bool includeTitleBarWebPart = false)
Parameters
System.Boolean
includeTitleBarWebPart
Include the TitleBar web part |
Returns
Tuple<PageLayout, List<WebPartEntity>>
Information about the analyzed webpart page |