Table of Contents

Constructor SearchHighlightText

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

SearchHighlightText(HighlightTextType, string)

Initializes a new instance of the SearchHighlightText class.

public SearchHighlightText(HighlightTextType type, string value)

Parameters

type HighlightTextType

Type of search highlight.

value string

Text from the field which returned a match.