Partager via


Field.Group Property

Gets or sets a value that specifies the field group.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property Group As String
    Get
    Set
'Usage
Dim instance As Field
Dim value As String

value = instance.Group

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

Property Value

Type: System.String
Returns a String instance representing the field group.

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

The server does not allow properties of the field to be changed. Error code: -2146232832.

[System.NotSupportedException]

Value is changed, and the list is an external list. Error code: -1.

Remarks

It must not be a null reference (Nothing in Visual Basic). It must not be empty. Its length must be equal to or less than 128.

See Also

Reference

Field Class

Field Members

Microsoft.SharePoint.Client Namespace