Share via


SPPolicyCollection.Remove method (Int32)

Removes the user or group from the collection based on the specified collection index.

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

Syntax

'Declaration
Public Sub Remove ( _
    index As Integer _
)
'Usage
Dim instance As SPPolicyCollection
Dim index As Integer

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

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the zero-based index of the principal to remove from the collection.

See also

Reference

SPPolicyCollection class

SPPolicyCollection members

Remove overload

Microsoft.SharePoint.Administration namespace