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: 10.0.0
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