SPField.Group property

Gets or sets the column group to which the field belongs.

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

Syntax

'Declaration
Public Property Group As String
    Get
    Set
'Usage
Dim instance As SPField
Dim value As String

value = instance.Group

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

Property value

Type: System.String

A string that specifies the group of site columns. Default column groups that are used in Microsoft SharePoint Foundation include the following:

  • Base Columns

  • Core Contact and Calendar Columns

  • Core Document Columns

  • Core Task and Issue Columns

  • Custom Columns

  • Extended Columns

  • _Hidden

  • Picture Columns

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace

Other resources

Introduction to Columns