Share via


KeywordQuery.CollapseSpecification property

Gets or sets criteria to use for collapsing search results.

Namespace:  Microsoft.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.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.SharePoint.Client.Search.Query namespace