SPRoleDefinitionBindingCollection.Remove Method (SPRoleDefinition)
Removes the specified role definition from the binding collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableMethodAttribute(RemoveParameterFromCollection := )> _
Public Sub Remove ( _
roleDefinition As SPRoleDefinition _
)
'Usage
Dim instance As SPRoleDefinitionBindingCollection
Dim roleDefinition As SPRoleDefinition
instance.Remove(roleDefinition)
[ClientCallableMethodAttribute(RemoveParameterFromCollection = )]
public void Remove(
SPRoleDefinition roleDefinition
)
Parameters
roleDefinition
Type: Microsoft.SharePoint.SPRoleDefinitionAn SPRoleDefinition object that represents the role definition.
See Also
Reference
SPRoleDefinitionBindingCollection Class