The VariantHelper type exposes the following members.
Back to Top
Methods
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
| |
SaveWebPartVariantChanges |
Saves the web part variant changes (MVT/Content personalization variants).
| |
SetVariant |
Saves variant's properties
| |
SetVariantWebParts(WebPartZoneInstance, Int32) |
Saves the variant.
| |
SetVariantWebParts(VariantModeEnum, Int32, XmlNode) |
Saves the variants
|
See Also