共用方式為


QueryProperties.TrimDuplicates Property

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

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
Public Property TrimDuplicates As Boolean
    Get
    Set
'Usage
Dim instance As QueryProperties
Dim value As Boolean

value = instance.TrimDuplicates

instance.TrimDuplicates = value
public bool TrimDuplicates { get; set; }

Property Value

Type: System.Boolean
true if duplicate items are removed from the search results; otherwise, false.

See Also

Reference

QueryProperties Class

QueryProperties Members

Microsoft.SharePoint.Search.Query Namespace