SearchHighlight Constructor  | 
  
    Namespace: 
   MongoDB.Driver.Search
    Assembly:
   MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntaxpublic SearchHighlight(
	string path,
	double score,
	SearchHighlightText[] texts
)
Public Sub New ( 
	path As String,
	score As Double,
	texts As SearchHighlightText()
)
new : 
        path : string * 
        score : float * 
        texts : SearchHighlightText[] -> SearchHighlightParameters
- path
 - Type: SystemString
document field which returned a match. - score
 - Type: SystemDouble
Score assigned to this result. - texts
 - Type: MongoDB.Driver.SearchSearchHighlightText
Objects containing the matching text and the surrounding text. 
See Also