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
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property GroupBy As String
Get
Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As String
value = instance.GroupBy
instance.GroupBy = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public string GroupBy { get; set; }
Property Value
Type: System.String