MVTVariantInfoProviderGetMVTVariantId Method |
Returns the MVT variant id for the specified template and code name.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 12.0.0
Syntax public static int GetMVTVariantId(
int pageTemplateId,
string variantName
)
Parameters
- pageTemplateId
- Type: SystemInt32
The page template id - variantName
- Type: SystemString
The variant code name
Return Value
Type:
Int32See Also