Buckaroo.CustomerId

Version: - string  

Summary

Returns customer's ID. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Buckaroo.CustomerId")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Buckaroo.CustomerId"); }

Outputting the template tag

<!--@Buckaroo.CustomerId-->

Check if string has a value

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