TransformationHelperSearchResultUrl Method |
Returns URL for current search result.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntaxpublic string SearchResultUrl(
string id,
string type,
bool absolute,
bool addLangParameter = true
)
Parameters
- id
- Type: SystemString
ID of the item - type
- Type: SystemString
Type - absolute
- Type: SystemBoolean
Indicates whether generated url should be absolute - addLangParameter (Optional)
- Type: SystemBoolean
Adds culture specific query parameter to the URL if more than one culture version exists. Default value is true.
Return Value
Type:
String
See Also