Share via


CoreResultsWebPart.SentencesInSummary Property

Gets or sets the number of sentences to include in the summary for each result displayed in the CoreResultsWebPart Web Part.

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

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<ResourcesAttribute("SearchResults_CRSentInSummary", "SearchResults_CR",  _
    "SearchResults_CRSentInSummary_ToolTip")> _
Public Property SentencesInSummary As Short
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As Short

value = instance.SentencesInSummary

instance.SentencesInSummary = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ResourcesAttribute("SearchResults_CRSentInSummary", "SearchResults_CR", 
    "SearchResults_CRSentInSummary_ToolTip")]
public short SentencesInSummary { get; set; }

Property Value

Type: System.Int16
An integer representing the number of sentences in the result summary.

See Also

Reference

CoreResultsWebPart Class

CoreResultsWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace