共用方式為


SPGroupCollection.Remove method (Int32)

移除集合中的指定索引處的群組。

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

Syntax

'宣告
Public Sub Remove ( _
    index As Integer _
)
'用途
Dim instance As SPGroupCollection
Dim index As Integer

instance.Remove(index)
public void Remove(
    int index
)

參數

  • index
    Type: System.Int32

    32 位元的整數,指定要移除群組的索引。

Exceptions

Exception Condition
SPException

群組集合是唯讀的。

請參閱

參照

SPGroupCollection class

SPGroupCollection members

Remove overload

Microsoft.SharePoint namespace