Click or drag to resize
LayoutInfoProviderCountWebpartZonesInternal Method
Counts webpart zones in layout code.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 12.0.0
Syntax
C#
protected virtual int CountWebpartZonesInternal(
	string layoutCode,
	LayoutTypeEnum layoutType
)

Parameters

layoutCode
Type: SystemString
Layout code
layoutType
Type: CMS.DataEngineLayoutTypeEnum
Layout code

Return Value

Type: Int32
Number of webpart zones in layout code.
See Also