Any visual query you create can also be used from razor using this property.
Syntaxt
- var ds = App.Query["QueryName"]["Default"];
- var tags = App.Query["AllTagsSorted"]["Default"];
- var listOfOtherStream = App.Query["AllTagsSorted"]["Paging"];
In most cases you'll want to just cast the entire stream as being Dynamic (to allow @Tag.Name etc.) so it's probably more like
- var tags = AsDynamic(App.Query["AllTagsSorted"]["Default"]);
See also what the wiki says about App.Query here.