NewsDate_ID

Version: - string  

Summary

Returns the ID of the news date field.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("NewsDate_ID")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@NewsDate_ID-->

Check if string has a value

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