Share via


Query.HighlightedSentenceCount Property

Gets or sets the number of sentences to include in the hit-highlighted summary.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.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. The default value is 3.

See Also

Reference

Query Class

Query Members

Microsoft.SharePoint.Search.Query Namespace