SearchHelperHighlight Method |
Highlight input text with dependence on current search key words.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 10.0.0
Syntax public static string Highlight(
string text,
string startTag,
string endTag
)
Parameters
- text
- Type: SystemString
Input text - startTag
- Type: SystemString
Starting HTML tag - endTag
- Type: SystemString
Ending HTML tag
Return Value
Type:
StringSee Also