Partager via


Query.HighlightedSentenceCount Property

Applies to: Microsoft SharePoint Server 2010 search
Gets or sets the number of sentences to include in the hit-highlighted summary.

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