次の方法で共有


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.Int32

    A 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.

関連項目

参照先

GroupCollection クラス

GroupCollection メンバー

Microsoft.SharePoint.Client 名前空間