SPGroupCollection.GetByID 方法
Returns a group from the collection based on the member ID of the group.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetByID ( _
id As Integer _
) As SPGroup
用法
Dim instance As SPGroupCollection
Dim id As Integer
Dim returnValue As SPGroup
returnValue = instance.GetByID(id)
public SPGroup GetByID(
int id
)
参数
id
类型:System.Int32A 32-bit integer that specifies the member ID.
返回值
类型:Microsoft.SharePoint.SPGroup
An SPGroup object that represents the group.
备注
The value of the id parameter corresponds to the unique member ID for the group, which is contained in the ID property of the SPMember class.