共用方式為


SPGroup.ID Property

Gets the identifier (ID) for the group.

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

Syntax

Public Overrides ReadOnly Property ID As Integer
    Get

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