Forum:Message.isThread

Version: - boolean  

Summary

Returns True if the message submitted as thread.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Forum:Message.isThread")

Check if tag has a value

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

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Forum:Message.isThread"); }

Outputting the template tag

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

Check if boolean has a value

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