Click or drag to resize
SearchHelperHighlight Method
Highlight input text with dependence on current search key words.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 9.0.0
Syntax
C#
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: String
See Also