SPPermissionCollection.Remove Method (Int32)
NOTE: This API is now obsolete.
Removes the permission object at the given index in the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")> _
Public Sub Remove ( _
index As Integer _
)
'Usage
Dim instance As SPPermissionCollection
Dim index As Integer
instance.Remove(index)
[ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")]
public void Remove(
int index
)
Parameters
index
Type: System.Int32A 32-bit integer that specifies the index of the object to remove.