Share via


SPRoleDefinitionBindingCollection.Remove method (Int32)

Removes the role definition 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 SPRoleDefinitionBindingCollection
Dim index As Integer

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

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index.

Remarks

The index parameter must be greater than 0 and less than the number of role definitions in the binding collection.

See also

Reference

SPRoleDefinitionBindingCollection class

SPRoleDefinitionBindingCollection members

Remove overload

Microsoft.SharePoint namespace