Click or drag to resize
TransformationHelperSearchResultUrl Method
Returns URL for given search result.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public string SearchResultUrl(
	SearchResultItem resultItem,
	bool absolute,
	bool addLangParameter = true
)

Parameters

resultItem
Type: CMS.SearchSearchResultItem
Search result to return URL for.
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