Click or drag to resize
VariantHelper Class
Helper class for portal engine variants
Inheritance Hierarchy
SystemObject
  CMS.PortalEngineVariantHelper

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static class VariantHelper

The VariantHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDeleteWidgetVariants
Removes all widget variants and their combinations.
Public methodStatic memberGetVariantID
Return variant ID based on name and page template ID
Public methodStatic memberGetVariants
Returns variants for given type and documents or template
Public methodStatic memberSetVariant
Saves variant's properties
Public methodStatic memberSetVariantWebParts(WebPartZoneInstance, Int32)
Saves the variant.
Public methodStatic memberSetVariantWebParts(VariantModeEnum, Int32, XmlNode)
Saves the variants
Top
See Also