共用方式為


SPGroup.ID property

取得群組識別碼 (ID)。

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
32 位元的整數,指定的群組識別碼。

請參閱

參照

SPGroup class

SPGroup members

Microsoft.SharePoint namespace