SPGroupCollection.Remove method (Int32)
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. |