AppItemContent

Version: - string  

Summary

Returns the app item content.

Settings

The value is generated automatically. 

Remarks

Avaialble for ContentAppIndexProviders only.

Examples

Outputting the template tag

@GetString("AppItemContent")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@AppItemContent-->

Check if string has a value

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