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

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