Forum:Message.ThreadID

Version: - string  

Summary

Returns ID of thread the message belongs to.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Forum:Message.ThreadID")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:Message.ThreadID"); }

Outputting the template tag

<!--@Forum:Message.ThreadID-->

Check if string has a value

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