VariantHelperSetVariant Method |
Saves variant's properties
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax 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:
Int32See Also