Label

Version: 9.7.0 string  

Summary

Returns label text of option.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Label")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Label"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Label"); }

Outputting the template tag

<!--@Label-->

Check if string has a value

<!--@If Defined(@Label)--> Let's output this tag here: <strong><!--@Label--></strong> <!--@EndIf(@Label)-->