LayoutInfoProviderCountWebpartZones Method (String, LayoutTypeEnum) |
Counts webpart zones in layout code.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax public static int CountWebpartZones(
string layoutCode,
LayoutTypeEnum layoutType
)
Parameters
- layoutCode
- Type: SystemString
Layout code - layoutType
- Type: CMS.DataEngineLayoutTypeEnum
Layout code type enum
Return Value
Type:
Int32Number of webpart zones in layout code.
See Also