Global:Device.DetectionDisabled
Version: - globalvalueSummary
Returns True if detection of a specific device or platform is disabled.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetGlobalValue("Global:Device.DetectionDisabled")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.DetectionDisabled"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetGlobalValue("Global:Device.DetectionDisabled");
}
Outputting the template tag
<!--@Global:Device.DetectionDisabled-->
Check if globalvalue has a value
<!--@If Defined(@Global:Device.DetectionDisabled)-->
Let's output this tag here: <strong><!--@Global:Device.DetectionDisabled--></strong>
<!--@EndIf(@Global:Device.DetectionDisabled)-->