Click or drag to resize
VariantHelperSetVariant Method
Saves variant's properties

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static int SetVariant(
	VariantModeEnum type,
	VariantSettings variant,
	XmlNode xmlDefinition
)

Parameters

type
Type: CMS.PortalEngineVariantModeEnum
Variant type
variant
Type: CMS.PortalEngineVariantSettings
Settings object with variant information
xmlDefinition
Type: System.XmlXmlNode
XML node (webpart or zone) definition

Return Value

Type: Int32
See Also