Share via


SPGroup.ID Property

Gets the identifier (ID) for the group.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overrides ReadOnly Property ID As Integer
    Get
'Usage
Dim instance As SPGroup
Dim value As Integer

value = instance.ID
public override int ID { get; }

Property Value

Type: System.Int32
A 32-bit integer that specifies the group ID.

See Also

Reference

SPGroup Class

SPGroup Members

Microsoft.SharePoint Namespace