Partager via


CoreResultsWebPart.SentencesInSummary Property

Gets or sets the number of characters 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(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property SentencesInSummary As Short
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As Short

value = instance.SentencesInSummary

instance.SentencesInSummary = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public short SentencesInSummary { get; set; }

Property Value

Type: System.Int16
The number of characters in the result summary.

See Also

Reference

CoreResultsWebPart Class

CoreResultsWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace