Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the group at the specified index in the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Remove ( _
index As Integer _
)
'Usage
Dim instance As SPGroupCollection
Dim index As Integer
instance.Remove(index)
public void Remove(
int index
)
Parameters
index
Type: System.Int32A 32-bit integer that specifies the index of the group to be removed.
Exceptions
| Exception | Condition |
|---|---|
| SPException | The group collection is read-only. |