AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantagePageLayout..::..SetLayout Method

Sets the layout.

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public void SetLayout(
	SitePage sitepage,
	int domainId,
	int languageId,
	Page page,
	CMSConfigurationEngine configurationEngine,
	eAdvantagePageLayoutType layoutType,
	string filePath,
	string layoutName
)

Parameters

sitepage
Type: AdvantageCMS.Core.Admin.BusinessEntity..::..SitePage
The sitepage.
domainId
Type: Int32
The domain identifier.
languageId
Type: Int32
The language identifier.
page
Type: Page
The page.
configurationEngine
Type: AdvantageCMS.Core.Admin.Engine..::..CMSConfigurationEngine
The configuration engine.
layoutType
Type: AdvantageCMS.Core.Common.BaseClasses..::..eAdvantagePageLayoutType
Type of the layout.
filePath
Type: String
The file path.
layoutName
Type: String
Name of the layout.