TransformationHelperSearchHighlight Method |
Highlight input text with dependence on current search keywords.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax 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:
StringSee Also