Click or drag to resize
LayoutInfoProviderCountWebpartZones Method (String, String)
Counts webpart zones in layout code.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
public static int CountWebpartZones(
	string layoutCode,
	string layoutTypeName
)

Parameters

layoutCode
Type: SystemString
Layout code
layoutTypeName
Type: SystemString
Layout code type name

Return Value

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