QueryResult.TotalCount

Version: - integer  

Summary

Returns total count of results  

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("QueryResult.TotalCount")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("QueryResult.TotalCount"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("QueryResult.TotalCount"); }

Outputting the template tag

<!--@QueryResult.TotalCount-->

Check if integer has a value

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