Ecom:CustomerCenter.List.Count

Version: - integer  

Summary

Returns the number of lists of the current type.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Ecom:CustomerCenter.List.Count")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:CustomerCenter.List.Count"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:CustomerCenter.List.Count"); }

Outputting the template tag

<!--@Ecom:CustomerCenter.List.Count-->

Check if integer has a value

<!--@If Defined(@Ecom:CustomerCenter.List.Count)--> Let's output this tag here: <strong><!--@Ecom:CustomerCenter.List.Count--></strong> <!--@EndIf(@Ecom:CustomerCenter.List.Count)-->