Click or drag to resize
TransformationHelperSearchHighlight Method
Highlight input text with dependence on current search keywords.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public string SearchHighlight(
	SearchResultItem resultItem,
	string text,
	string startTag,
	string endTag
)

Parameters

resultItem
Type: CMS.SearchSearchResultItem
Search result to return highlighted text for.
text
Type: SystemString
Input text
startTag
Type: SystemString
Start highlight tag
endTag
Type: SystemString
End tag

Return Value

Type: String
See Also