Click or drag to resize
VariantHelper Methods

The VariantHelper type exposes the following members.

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 memberSaveWebPartVariantChanges
Saves the web part variant changes (MVT/Content personalization variants).
Public methodStatic memberSetVariant
Saves variant's properties
Public methodStatic memberSetVariantWebParts(WebPartZoneInstance, Int32)
Saves the variant.
Public methodStatic memberSetVariantWebParts(VariantModeEnum, Int32, XmlNode)
Saves the variants
See Also