Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.PortalEngine Namespaces
CMS.PortalEngine
PageTemplateInstance Class
PageTemplateInstance Methods
AddWebPart Method
AddWidget Method
AddZone Method
Clone Method
CloneWebPart Method
CombineWith Method
ContainsZones Method
EnsureZone Method
GetNestedZones Method
GetUniqueWebPartId Method
GetWebPart Method
GetXmlElement Method
GetZone Method
GetZonesXML Method
LoadFromXml Method
LoadFromXmlElement Method
LoadVariants Method
MoveAllWebParts Method
MoveWebPart Method
MoveWebPartDown Method
MoveWebPartToNextZone Method
MoveWebPartToPreviousZone Method
MoveWebPartUp Method
RemoveZone Method
ZoneExists Method
PageTemplateInstance
EnsureZone Method
Ensures that the instance of the given zone exists.
Namespace:
CMS.PortalEngine
Assembly:
CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 12.0.0
Syntax
C#
Copy
public
WebPartZoneInstance
EnsureZone
(
string
zoneId
)
Parameters
zoneId
Type:
System
String
Zone ID to ensure
Return Value
Type:
WebPartZoneInstance
See Also
Reference
PageTemplateInstance Class
CMS.PortalEngine Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com