GroupCollection.RemoveById 方法
Removes the group with the specified member ID from the collection.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Sub RemoveById ( _
id As Integer _
)
用法
Dim instance As GroupCollection
Dim id As Integer
instance.RemoveById(id)
public void RemoveById(
int id
)
参数
id
类型:System.Int32A 32-bit integer that specifies the member ID of the group to be removed.
异常
异常 | 条件 |
---|---|
SPException | The group collection is read-only. |
备注
The value of the id parameter corresponds to the unique member ID for the group, which equals the ID property of the SPMember class. Use the Remove method to remove a group at a specified index in the group collection.