MVTVariantInfoProviderSaveVariantInternal Method (Int32, String, String, String, Boolean, String, Guid, Int32, Int32, XmlNode) |
Saves the variant and generates new combinations if the variant is new.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 11.0.0
Syntax protected virtual int SaveVariantInternal(
int variantId,
string variantName,
string variantDisplayName,
string variantDescription,
bool variantEnabled,
string zoneId,
Guid instanceGuid,
int pageTemplateId,
int documentId,
XmlNode xmlWebParts
)
Parameters
- variantId
- Type: SystemInt32
The variant id - variantName
- Type: SystemString
Name of the variant - variantDisplayName
- Type: SystemString
Display name of the variant - variantDescription
- Type: SystemString
The variant description - variantEnabled
- Type: SystemBoolean
Indicates whether the variant is enabled - zoneId
- Type: SystemString
The zone id - instanceGuid
- Type: SystemGuid
The instance GUID - pageTemplateId
- Type: SystemInt32
The page template id - documentId
- Type: SystemInt32
The document id - xmlWebParts
- Type: System.XmlXmlNode
Web parts XML
Return Value
Type:
Int32See Also