다음을 통해 공유


QueryProperties.HighlightedSentenceCount Property

NOTE: This API is now obsolete.

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
<DataMemberAttribute> _
<ObsoleteAttribute("The HighlightedSentenceCount property is no longer supported and will be removed in a future release. Use SummaryLength instead.")> _
Public Property HighlightedSentenceCount As Integer
    Get
    Set
'Usage
Dim instance As QueryProperties
Dim value As Integer

value = instance.HighlightedSentenceCount

instance.HighlightedSentenceCount = value
[DataMemberAttribute]
[ObsoleteAttribute("The HighlightedSentenceCount property is no longer supported and will be removed in a future release. Use SummaryLength instead.")]
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

QueryProperties Class

QueryProperties Members

Microsoft.Office.Server.Search.Query Namespace