VariantId
Version: 9.9.0 stringSummary
The variant combination id at this point in the tree.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("VariantId")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("VariantId"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("VariantId");
}
Outputting the template tag
<!--@VariantId-->
Check if string has a value
<!--@If Defined(@VariantId)-->
Let's output this tag here: <strong><!--@VariantId--></strong>
<!--@EndIf(@VariantId)-->