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

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
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