Token
Version: - stringSummary
Returns an unique token for the comment. E.g. used in actions (like dislike, delete activate) from an email.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Token")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Token"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Token");
}
Outputting the template tag
<!--@Token-->
Check if string has a value
<!--@If Defined(@Token)-->
Let's output this tag here: <strong><!--@Token--></strong>
<!--@EndIf(@Token)-->