Share via


ContentByQueryWebPart.GroupBy Property

Gets or sets the list field name used to group the set of list items.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property GroupBy As String
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As String

value = instance.GroupBy

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

Property Value

Type: System.String

See Also

Reference

ContentByQueryWebPart Class

ContentByQueryWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace

ContentByQueryWebPart