共用方式為


SearchResultsBaseWebPart.RemoveDuplicates Property

Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property RemoveDuplicates As Boolean
    Get
    Set
'Usage
Dim instance As SearchResultsBaseWebPart
Dim value As Boolean

value = instance.RemoveDuplicates

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

Property Value

Type: System.Boolean
true to remove duplicate items from the search results; otherwise, false.

See Also

Reference

SearchResultsBaseWebPart Class

SearchResultsBaseWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace