| VariantHelper Class |
Namespace: CMS.PortalEngine
public static class VariantHelper
The VariantHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| DeleteWidgetVariants |
Removes all widget variants and their combinations.
| |
| GetVariantID |
Return variant ID based on name and page template ID
| |
| GetVariants |
Returns variants for given type and documents or template
| |
| SetVariant |
Saves variant's properties
| |
| SetVariantWebParts(WebPartZoneInstance, Int32) |
Saves the variant.
| |
| SetVariantWebParts(VariantModeEnum, Int32, XmlNode) |
Saves the variants
|