Share via


KeywordQuery.CollapseSpecification property

Gets or sets criteria to use for collapsing search results.

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

Syntax

'Declaration
Public Property CollapseSpecification As String
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As String

value = instance.CollapseSpecification

instance.CollapseSpecification = value
public string CollapseSpecification { get; set; }

Property value

Type: System.String

Remarks

For more information on how to use this property, see Customizing search results in SharePoint 2013

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.Office.Server.Search.Query namespace