Partilhar via


SPGridView.GroupField Property

Gets or sets the name of the field to group by.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property GroupField As String
    Get
    Set
'Usage
Dim instance As SPGridView
Dim value As String

value = instance.GroupField

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

Property Value

Type: System.String

See Also

Reference

SPGridView Class

SPGridView Members

Microsoft.SharePoint.WebControls Namespace