Click or drag to resize
VariantHelperSetVariantWebParts Method (VariantModeEnum, Int32, XmlNode)
Saves the variants

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
public static void SetVariantWebParts(
	VariantModeEnum type,
	int variantID,
	XmlNode xmlWebParts
)

Parameters

type
Type: CMS.PortalEngineVariantModeEnum
Variant type
variantID
Type: SystemInt32
Varaint's (zone or webpart) ID
xmlWebParts
Type: System.XmlXmlNode
XML (webpart or zone) definition
See Also