ContentByQueryWebPart.AdditionalGroupAndSortFields property

Additional group and sortable fields to show in the tool pane.

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

Syntax

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

value = instance.AdditionalGroupAndSortFields

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

Property value

Type: System.String

Remarks

Additional group and sortable fields are separated by a semicolon and have one of the following formats:

  • "internalName"

  • "internalName,DisplayName"

  • "Guid"

  • "Guid,DisplayName,"

See also

Reference

ContentByQueryWebPart class

ContentByQueryWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace

ContentByQueryWebPart