Query.HighlightedSentenceCount property

Gets or sets the number of sentences to include in the hit highlighted summary. The value should be between 1 and 10.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property HighlightedSentenceCount As Integer
    Get
    Set
'Usage
Dim instance As Query
Dim value As Integer

value = instance.HighlightedSentenceCount

instance.HighlightedSentenceCount = value
public int HighlightedSentenceCount { get; set; }

Property value

Type: System.Int32
A 32-bit integer representing the number of sentences.

Remarks

The default value is 3.

See also

Reference

Query class

Query members

Microsoft.Office.Server.Search.Query namespace