SPMobileComponent.AllowDelete Method
Gets a value indicating whether the current user has permission to delete the specified list item.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overridable Function AllowDelete ( _
item As SPListItem _
) As Boolean
'Usage
Dim item As SPListItem
Dim returnValue As Boolean
returnValue = Me.AllowDelete(item)
protected virtual bool AllowDelete(
SPListItem item
)
Parameters
item
Type: Microsoft.SharePoint.SPListItemThe SPListItem object that the user needs to know whether he or she has permission to delete.
Return Value
Type: System.Boolean
true if the user has permission to delete the item; otherwise, false.