Field.Name

Version: - string  

Summary

Returns the field name as defined in DB.

Settings

Not documented

Examples

Outputting the template tag

@GetString("Field.Name")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Field.Name"); }

Outputting the template tag

<!--@Field.Name-->

Check if string has a value

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