DwSearchResultHref

Version: - string  

Summary

Returns the path to the current result item.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("DwSearchResultHref")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@DwSearchResultHref-->

Check if string has a value

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